comparison CMakeLists.txt @ 276:1d360b822973

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 06 Jul 2020 11:35:31 +0200
parents 3a9749b1dfce
children d5b46b450b54
comparison
equal deleted inserted replaced
275:3a9749b1dfce 276:1d360b822973
48 mark_as_advanced(ORTHANC_FRAMEWORK_STATIC) 48 mark_as_advanced(ORTHANC_FRAMEWORK_STATIC)
49 49
50 50
51 # Download and setup the Orthanc framework 51 # Download and setup the Orthanc framework
52 if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "system") 52 if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "system")
53 set(ENABLE_GOOGLE_TEST ON)
54 include(${CMAKE_SOURCE_DIR}/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake) 53 include(${CMAKE_SOURCE_DIR}/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake)
55 link_libraries(${ORTHANC_FRAMEWORK_LIBRARIES}) 54 link_libraries(${ORTHANC_FRAMEWORK_LIBRARIES})
56 55
57 set(USE_SYSTEM_GOOGLE_TEST ON CACHE BOOL "Use the system version of Google Test") 56 set(USE_SYSTEM_GOOGLE_TEST ON CACHE BOOL "Use the system version of Google Test")
58 set(USE_GOOGLE_TEST_DEBIAN_PACKAGE OFF CACHE BOOL "Use the sources of Google Test shipped with libgtest-dev (Debian only)") 57 set(USE_GOOGLE_TEST_DEBIAN_PACKAGE OFF CACHE BOOL "Use the sources of Google Test shipped with libgtest-dev (Debian only)")