comparison OrthancFramework/SharedLibrary/CMakeLists.txt @ 4135:baf8e21e91cb

improving DownloadOrthancFramework.cmake
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 04 Aug 2020 13:02:02 +0200
parents 2c54cc9a712f
children 1657c8700974
comparison
equal deleted inserted replaced
4134:2c54cc9a712f 4135:baf8e21e91cb
38 ##################################################################### 38 #####################################################################
39 39
40 # *Do not* use CMAKE_INSTALL_PREFIX, otherwise CMake automatically 40 # *Do not* use CMAKE_INSTALL_PREFIX, otherwise CMake automatically
41 # adds CMAKE_INSTALL_PREFIX to the include_directories(), which causes 41 # adds CMAKE_INSTALL_PREFIX to the include_directories(), which causes
42 # issues if re-building the shared library after install! 42 # issues if re-building the shared library after install!
43 set(ORTHANC_INSTALL_PREFIX "/tmp/install" CACHE PATH "") 43 set(ORTHANC_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" CACHE PATH "")
44 SET(UNIT_TESTS_WITH_HTTP_CONNEXIONS ON CACHE BOOL "Allow unit tests to make HTTP requests") 44 SET(UNIT_TESTS_WITH_HTTP_CONNEXIONS ON CACHE BOOL "Allow unit tests to make HTTP requests")
45 45
46 46
47 47
48 ##################################################################### 48 #####################################################################