diff options
author | Magnus Lundborg <magnus.lundborg@scilifelab.se> | 2013-01-10 13:59:37 (GMT) |
---|---|---|
committer | Magnus Lundborg <magnus.lundborg@scilifelab.se> | 2013-01-10 13:59:37 (GMT) |
commit | 98038743d78f912e42070fd3f0b7d7d887faa4ff (patch) | |
tree | dff9fa3a6f8323c5d870afb19f7d9697f4e3910d /CMakeLists.txt | |
parent | 0a4bda9e96c28aea6c948d2e017625a33e35b7f1 (diff) |
Make builds work even if no fortran compiler is found
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c36dcb8..18f8d90 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,8 @@ project(TRAJECTORY) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) +option(BUILD_FORTRAN "Build Fortran examples" OFF) + option(USE_OPENMP "Try to use the OpenMP library (if available)" ON) if(USE_OPENMP) FIND_PACKAGE(OpenMP) @@ -36,4 +38,4 @@ if(BUILD_DOCUMENTATION) SOURCES ${PROJECT_BINARY_DIR}/Doxyfile) # IF you do NOT want the documentation to be generated EVERY time you build the project # then leave out the 'ALL' keyword from the above command. -endif() +endif()
\ No newline at end of file |