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:31:58 (GMT) |
commit | fd25a62a8f0597ffaf2ea1e8ba7da5114660553e (patch) | |
tree | 0f573e7ba158e47fbec768e3d2326886490fa89e /src/tests/CMakeLists.txt | |
parent | 20d74e7d97b876232134f2e88e4f3b39f792bfe2 (diff) |
Change CMake parameter names to specifically include TNG.
Diffstat (limited to 'src/tests/CMakeLists.txt')
-rw-r--r-- | src/tests/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index 0e4ed12..13e7d88 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt @@ -1,4 +1,4 @@ -if(BUILD_COMPRESSION_TESTS) +if(TNG_BUILD_COMPRESSION_TESTS) add_subdirectory(compression) endif() @@ -25,7 +25,7 @@ endif() set_property(TARGET tng_testing PROPERTY RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/tests) -if(BUILD_TNG_EXAMPLES) +if(TNG_BUILD_EXAMPLES) if(OPENMP_FOUND) add_executable(md_openmp md_openmp.c) target_link_libraries(md_openmp tng_io ${OpenMP_LIBS}) @@ -63,7 +63,7 @@ if(BUILD_TNG_EXAMPLES) endif() set_property(TARGET tng_parallel_read PROPERTY RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/examples) - if(BUILD_FORTRAN) + if(TNG_BUILD_FORTRAN) # This does not work due to a bug in CMake. Remove lines below if no fortran compiler is found. enable_language(Fortran OPTIONAL) if(${CMAKE_Fortran_COMPILER_WORKS}) |