Revision: 77632
http://sourceforge.net/p/brlcad/code/77632
Author: brlcad
Date: 2020-10-24 06:02:20 +0000 (Sat, 24 Oct 2020)
Log Message:
-----------
wow, I guess we have to wrap this for older cmake. c'mon cmake guys...
Modified Paths:
--------------
brlcad/trunk/CMakeLists.txt
Modified: brlcad/trunk/CMakeLists.txt
===================================================================
--- brlcad/trunk/CMakeLists.txt 2020-10-24 05:07:28 UTC (rev 77631)
+++ brlcad/trunk/CMakeLists.txt 2020-10-24 06:02:20 UTC (rev 77632)
@@ -3687,7 +3687,9 @@
set_target_properties(print-warning-message PROPERTIES FOLDER "Compilation
Utilities")
# NOTE: set to NEW and remove slashes after 3.19 is required
-cmake_policy(SET CMP0110 OLD)
+if(POLICY CMP0110)
+ cmake_policy(SET CMP0110 OLD)
+endif(POLICY CMP0110)
add_test(NAME "NOTE:\\ some\\ 'test'\\ tests\\ are\\ expected\\ to\\ fail,\\
'regress'\\ must\\ pass" COMMAND ${CMAKE_COMMAND} --build . --target
print-warning-message)
# Local Variables:
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits