summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-10-14 13:29:36 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-10-14 13:31:58 (GMT)
commitfd25a62a8f0597ffaf2ea1e8ba7da5114660553e (patch)
tree0f573e7ba158e47fbec768e3d2326886490fa89e /CMakeLists.txt
parent20d74e7d97b876232134f2e88e4f3b39f792bfe2 (diff)
Change CMake parameter names to specifically include TNG.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9edce2c..ca36e4e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,13 +7,13 @@ 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)
+option(TNG_USE_OPENMP "Try to use the OpenMP library (if available)" ON)
+if(TNG_USE_OPENMP)
find_package(OpenMP)
if(OPENMP_FOUND)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
@@ -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
contact: Jan Huwald // Impressum