Revision: 77786
http://sourceforge.net/p/brlcad/code/77786
Author: starseeker
Date: 2020-11-21 17:30:10 +0000 (Sat, 21 Nov 2020)
Log Message:
-----------
Add an OPENBSD test variable.
Modified Paths:
--------------
brlcad/branches/extbuild/src/other/ext/CMakeLists.txt
Modified: brlcad/branches/extbuild/src/other/ext/CMakeLists.txt
===================================================================
--- brlcad/branches/extbuild/src/other/ext/CMakeLists.txt 2020-11-21
16:50:31 UTC (rev 77785)
+++ brlcad/branches/extbuild/src/other/ext/CMakeLists.txt 2020-11-21
17:30:10 UTC (rev 77786)
@@ -239,6 +239,12 @@
endif(MSVC)
+# OpenBSD has its own naming conventions. Set a platform variable based on
+# the OS name so we can test for it succinctly.
+if ("${CMAKE_SYSTEM}" MATCHES ".*OpenBSD.*")
+ set(OPENBSD ON)
+endif ("${CMAKE_SYSTEM}" MATCHES ".*OpenBSD.*")
+
# TODO - need to set these based on the feature flags...
set(BRLCAD_LEVEL2 ON)
set(BRLCAD_LEVEL3 ON)
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