comparison CMakeLists.txt @ 265:9cd240cfd3a6 Orthanc-0.3.1

fixes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 10 Dec 2012 11:00:50 +0100
parents 3b3525dee661
children ffd98d2f0b91
comparison
equal deleted inserted replaced
263:3b3525dee661 265:9cd240cfd3a6
176 RUNTIME DESTINATION bin 176 RUNTIME DESTINATION bin
177 ) 177 )
178 178
179 # Build the unit tests if required 179 # Build the unit tests if required
180 if (BUILD_UNIT_TESTS) 180 if (BUILD_UNIT_TESTS)
181 add_definitions(-DORTHANC_BUILD_UNIT_TESTS=1)
181 include(${CMAKE_SOURCE_DIR}/Resources/CMake/GoogleTestConfiguration.cmake) 182 include(${CMAKE_SOURCE_DIR}/Resources/CMake/GoogleTestConfiguration.cmake)
182 add_executable(UnitTests 183 add_executable(UnitTests
183 ${GTEST_SOURCES} 184 ${GTEST_SOURCES}
184 UnitTests/MessageWithDestination.cpp 185 UnitTests/MessageWithDestination.cpp
185 UnitTests/RestApi.cpp 186 UnitTests/RestApi.cpp