Commit d17ea04 1 parent 4b74254 commit d17ea04 Copy full SHA for d17ea04
File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ endif()
32
32
###############################################################################
33
33
## CMake policies
34
34
35
- # CMP0071: Let AUTOMOC and AUTOUIC process GENERATED files.
36
35
list (APPEND cmake_policies_new
37
36
# CMP0071
38
37
)
@@ -43,6 +42,16 @@ foreach(p ${cmake_policies_new})
43
42
endif ()
44
43
endforeach ()
45
44
45
+ list (APPEND cmake_policies_old
46
+ CMP0167
47
+ )
48
+
49
+ foreach (p ${cmake_policies_old} )
50
+ if (POLICY ${p} )
51
+ cmake_policy (SET ${p} OLD)
52
+ endif ()
53
+ endforeach ()
54
+
46
55
###############################################################################
47
56
## the name of the game
48
57
@@ -1141,7 +1150,7 @@ if(USE_SYSTEM_BOOST)
1141
1150
set (Boost_USE_MULTITHREADED ON )
1142
1151
set (Boost_USE_STATIC_RUNTIME OFF )
1143
1152
endif ()
1144
- find_package (Boost CONFIG REQUIRED locale)
1153
+ find_package (Boost REQUIRED locale)
1145
1154
endif ()
1146
1155
1147
1156
if (USE_SYSTEM_BZIP2)
You can’t perform that action at this time.
0 commit comments