diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-10-14 13:29:36 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-10-14 13:29:36 (GMT) |
commit | ea7ea4656e9d2ade9516082885e6e49a1065c2d1 (patch) | |
tree | 5d733edabab4777971bb5567bc89e90870c1d30c /CMakeLists.txt | |
parent | 20d74e7d97b876232134f2e88e4f3b39f792bfe2 (diff) |
Change CMake parameter names to specifically include TNG.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9edce2c..08ecdf8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,10 +7,10 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) include_directories(${CMAKE_SOURCE_DIR}/include) -option(BUILD_FORTRAN "Build Fortran compatible library and examples for testing" OFF) +option(TNG_BUILD_FORTRAN "Build Fortran compatible library and examples for testing" OFF) -option(BUILD_TNG_EXAMPLES "Build examples showing usage of the TNG API" ON) -option(BUILD_COMPRESSION_TESTS "Build tests of the TNG compression library" OFF) +option(TNG_BUILD_EXAMPLES "Build examples showing usage of the TNG API" ON) +option(TNG_BUILD_COMPRESSION_TESTS "Build tests of the TNG compression library" OFF) option(USE_OPENMP "Try to use the OpenMP library (if available)" ON) if(USE_OPENMP) @@ -31,8 +31,8 @@ add_subdirectory(src) file(COPY example_files DESTINATION .) #-- Add an Option to toggle the generation of the API documentation -option(BUILD_DOCUMENTATION "Use Doxygen to create the HTML based API documentation" OFF) -if(BUILD_DOCUMENTATION) +option(TNG_BUILD_DOCUMENTATION "Use Doxygen to create the HTML based API documentation" OFF) +if(TNG_BUILD_DOCUMENTATION) find_package(Doxygen) if (NOT DOXYGEN_FOUND) message(FATAL_ERROR |