commit | 5435f15be46289770a833dba6cc19e035faecf47 | [log] [tgz] |
---|---|---|
author | Vitaliy Kirsanov <krokoziabla@yandex-team.ru> | Mon Apr 08 07:36:05 2019 +0300 |
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | Sat May 04 11:41:48 2019 +1000 |
tree | a94bea95a1529aaa4f2e07c7f760d77a4433083a | |
parent | 6cd2b6cded1d7281df7584d7fad9ccb1d1022243 [diff] [blame] |
/test/*.sh enabled for CTest in UNIX
diff --git a/CMakeLists.txt b/CMakeLists.txt index e1166db..5619005 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -101,13 +101,9 @@ if(BUILD_EXAMPLES) add_subdirectory("examples") endif() - -if(WIN32) - set(EXEEXT .exe) +if(BUILD_TESTING) + add_subdirectory("test") endif() -set(top_srcdir "${CMAKE_CURRENT_SOURCE_DIR}") -set(top_builddir "${CMAKE_CURRENT_BINARY_DIR}") -configure_file(test/common.sh.in test/common.sh @ONLY) install( EXPORT targets