We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent da7cded commit 2fc0216Copy full SHA for 2fc0216
CMakeLists.txt
@@ -1,3 +1,4 @@
1
+
2
SET(CPACK_PACKAGE_VERSION_MAJOR "1")
3
SET(CPACK_PACKAGE_VERSION_MINOR "0")
4
SET(CPACK_PACKAGE_VERSION_PATCH "0")
@@ -253,6 +254,14 @@ ELSE (WIN32)
253
254
ENDIF (WIN32)
255
256
257
+#assume we have excaped compiler directives
258
+#eventually we want to change this to new
259
+#since we dont need to jump through so many
260
+#hoops to escape compiler directives then
261
+IF(COMMAND cmake_policy)
262
+ cmake_policy(SET CMP0003 NEW)
263
+ cmake_policy(SET CMP0005 OLD)
264
+ENDIF(COMMAND cmake_policy)
265
IF (WIN32)
266
# expect that classes are being imported
267
# Note: MSVC doesn't like when the macros are quotes
0 commit comments