diff --git a/integrationTests/CMakeLists.txt b/integrationTests/CMakeLists.txt index a7dbfa0ba..871f62327 100644 --- a/integrationTests/CMakeLists.txt +++ b/integrationTests/CMakeLists.txt @@ -8,7 +8,7 @@ include_directories( ) -if(USE_TESTS) +if(SLS_USE_TESTS) set(TEST_SOURCES src/test-slsDetector.cpp src/test.cpp @@ -38,8 +38,8 @@ endif() -#option(USE_TESTS "Determines whether to build tests." OFF) -# if(USE_TESTS) +#option(SLS_USE_TESTS "Determines whether to build tests." OFF) +# if(SLS_USE_TESTS) # # Prepare "Catch" library for other executables # set(CATCH_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/catch) # add_library(Catch INTERFACE) diff --git a/manual/manual-main/slsDetectorInstall.tex b/manual/manual-main/slsDetectorInstall.tex index b0cc98344..dcf7fc84e 100644 --- a/manual/manual-main/slsDetectorInstall.tex +++ b/manual/manual-main/slsDetectorInstall.tex @@ -377,7 +377,7 @@ Use the following as an example to compile statically and using specific hdf5 folder \begin{verbatim} $ HDF5_ROOT=/opt/hdf5v1.10.0 cmake ../slsDetectorPackage --DCMAKE_BUILD_TYPE=Debug -DUSE_HDF5=ON +-DCMAKE_BUILD_TYPE=Debug -DSLS_USE_HDF5=ON \end{verbatim} After compiling, the libraries and executables will be found at `bin` directory diff --git a/slsSupportLib/CMakeLists.txt b/slsSupportLib/CMakeLists.txt index 0312f9cd6..54c39a7f3 100644 --- a/slsSupportLib/CMakeLists.txt +++ b/slsSupportLib/CMakeLists.txt @@ -48,9 +48,9 @@ set_target_properties(slsSupportLib PROPERTIES PUBLIC_HEADER "${PUBLICHEADERS}" ) -if (USE_TESTS) +if (SLS_USE_TESTS) add_subdirectory(tests) -endif(USE_TESTS) +endif(SLS_USE_TESTS) # Install the library install(TARGETS slsSupportLib