Browse Source

Fix policy command

master
Timo Röhling 8 years ago
parent
commit
11d04014fa
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      CMakeLists.txt

+ 1
- 1
CMakeLists.txt View File

@@ -1,7 +1,7 @@
1 1
 cmake_minimum_required(VERSION 2.4)
2 2
 if(COMMAND cmake_policy)
3 3
     if(POLICY CMP0026)
4
-        cmake_policy(CMP0026 OLD)
4
+        cmake_policy(SET CMP0026 OLD)
5 5
     endif()
6 6
 endif()
7 7
 project(postsrsd C)

Loading…
Cancel
Save