X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=45c9c982b290035883ce4d6df65933a700290b9a;hb=6d762b1b6df5b3eabfabeca992572659fceb4f9f;hp=951ea8cfe9267632e1be16e0a1d31b9a840890af;hpb=d0949e19d51dc92489857656aeb6ae21bde9944a;p=creaImageIO.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 951ea8c..45c9c98 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -87,7 +87,7 @@ SET(LIBNAME creaImageIO) ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}/src ) -SUBDIRS(src) +ADD_SUBDIRECTORY(src) OPTION(BUILD_CREA_BRUKER "Build creaIRM with creaBruker?" ON) @@ -108,17 +108,17 @@ IF (BUILD_CREA_PACS) ENDIF(BUILD_CREA_PACS) # -SUBDIRS(appli) -SUBDIRS(bbtk) -SUBDIRS(tests) +ADD_SUBDIRECTORY(appli) +ADD_SUBDIRECTORY(bbtk) +ADD_SUBDIRECTORY(tests) IF(MSVC AND CMAKE_SIZEOF_VOID_P MATCHES 4) - SUBDIRS(win32) + ADD_SUBDIRECTORY(win32) endif() IF(MSVC AND CMAKE_SIZEOF_VOID_P MATCHES 8) - SUBDIRS(win64) + ADD_SUBDIRECTORY(win64) endif() -SUBDIRS(install) +ADD_SUBDIRECTORY(install) ENABLE_TESTING()