A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cmake: Ensure that the users don't activate minimal-bindings and model-checking together
[simgrid.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
8fc0284
..
46a1435
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-370,6
+370,10
@@
if(enable_model-checking AND NOT "${CMAKE_SYSTEM}" MATCHES "Linux|FreeBSD")
set(enable_model-checking FALSE)
endif()
+if(enable_model-checking AND minimal-bindings)
+ message(FATAL_ERROR "Compile-time option 'minimal-bindings' cannot be enabled with 'model-checking'")
+endif()
+
if(HAVE_MMAP)
SET(HAVE_MMALLOC 1)
else()