comparison CMakeLists.txt @ 2402:741765ec8374

rename GTEST_ as GOOGLE_TEST_
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 08 Sep 2017 16:32:59 +0200
parents 7f9a78f7b5a7
children 06536b4f30c0
comparison
equal deleted inserted replaced
2401:a051aba0037c 2402:741765ec8374
35 SET(BUILD_SERVE_FOLDERS ON CACHE BOOL "Whether to build the ServeFolders plugin") 35 SET(BUILD_SERVE_FOLDERS ON CACHE BOOL "Whether to build the ServeFolders plugin")
36 SET(ENABLE_PLUGINS ON CACHE BOOL "Enable plugins") 36 SET(ENABLE_PLUGINS ON CACHE BOOL "Enable plugins")
37 SET(UNIT_TESTS_WITH_HTTP_CONNEXIONS ON CACHE BOOL "Allow unit tests to make HTTP requests") 37 SET(UNIT_TESTS_WITH_HTTP_CONNEXIONS ON CACHE BOOL "Allow unit tests to make HTTP requests")
38 38
39 # Advanced parameters to fine-tune linking against system libraries 39 # Advanced parameters to fine-tune linking against system libraries
40 SET(USE_GTEST_DEBIAN_SOURCE_PACKAGE OFF CACHE BOOL "Use the sources of Google Test shipped with libgtest-dev (Debian only)") 40 SET(USE_GOOGLE_TEST_DEBIAN_SOURCE_PACKAGE OFF CACHE BOOL "Use the sources of Google Test shipped with libgtest-dev (Debian only)")
41 SET(USE_SYSTEM_GOOGLE_TEST ON CACHE BOOL "Use the system version of Google Test") 41 SET(USE_SYSTEM_GOOGLE_TEST ON CACHE BOOL "Use the system version of Google Test")
42 42
43 mark_as_advanced(USE_GTEST_DEBIAN_SOURCE_PACKAGE) 43 mark_as_advanced(USE_GOOGLE_TEST_DEBIAN_SOURCE_PACKAGE)
44 44
45 45
46 ##################################################################### 46 #####################################################################
47 ## Configuration of the Orthanc framework 47 ## Configuration of the Orthanc framework
48 ##################################################################### 48 #####################################################################
312 ##################################################################### 312 #####################################################################
313 ## Build the unit tests 313 ## Build the unit tests
314 ##################################################################### 314 #####################################################################
315 315
316 add_executable(UnitTests 316 add_executable(UnitTests
317 ${GTEST_SOURCES} 317 ${GOOGLE_TEST_SOURCES}
318 ${ORTHANC_UNIT_TESTS_PCH} 318 ${ORTHANC_UNIT_TESTS_PCH}
319 ${ORTHANC_UNIT_TESTS_SOURCES} 319 ${ORTHANC_UNIT_TESTS_SOURCES}
320 ) 320 )
321 321
322 target_link_libraries(UnitTests ServerLibrary CoreLibrary ${DCMTK_LIBRARIES}) 322 target_link_libraries(UnitTests ServerLibrary CoreLibrary ${DCMTK_LIBRARIES})