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
Options should be set up at the beginning, before being used ..
[simgrid.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
c1093c6
..
e60e45a
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-60,8
+60,12
@@
if(APPLE AND (CMAKE_C_COMPILER_VERSION VERSION_LESS "4.6"))
set(HAVE_UCONTEXT_H 0)
endif()
set(HAVE_UCONTEXT_H 0)
endif()
+
+### Setup Options
+include(${CMAKE_HOME_DIRECTORY}/tools/cmake/Option.cmake)
+
### SMPI vs. Fortran
### SMPI vs. Fortran
-if (
NOT DEFINED enable_smpi
OR enable_smpi)
+if (
(NOT DEFINED enable_smpi)
OR enable_smpi)
if(enable_fortran)
include(FindGFortran)
else()
if(enable_fortran)
include(FindGFortran)
else()
@@
-173,8
+177,7
@@
endif()
include_directories(${INCLUDES})
include_directories(${INCLUDES})
-### Setup Options
-include(${CMAKE_HOME_DIRECTORY}/tools/cmake/Option.cmake)
+
### Determine the assembly flavor that we need today
set(HAVE_RAW_CONTEXTS 0)
### Determine the assembly flavor that we need today
set(HAVE_RAW_CONTEXTS 0)