diff --git a/CMakeLists.txt b/CMakeLists.txt index 12e8c32..e018641 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,2 +1,7 @@ cmake_minimum_required (VERSION 3.1 FATAL_ERROR) + +if (NOT DEFINED RUN_TEST_SUITE) +option (RUN_TEST_SUITE "run test suite after install" ON) +endif (NOT DEFINED RUN_TEST_SUITE) + add_subdirectory(Source/GmmLib) diff --git a/Source/GmmLib/CMakeLists.txt b/Source/GmmLib/CMakeLists.txt index 37c799d..71b5e70 100644 --- a/Source/GmmLib/CMakeLists.txt +++ b/Source/GmmLib/CMakeLists.txt @@ -544,4 +544,6 @@ if(ARCH EQUAL 32) endif() endif() -add_subdirectory(ULT) +if(NOT DEFINED RUN_TEST_SUITE OR RUN_TEST_SUITE) + add_subdirectory(ULT) +endif()