comparison PostgreSQL/CMakeLists.txt @ 427:3cdea26ece73 pg-transactions

merge default -> pg-transactions
author Alain Mazy <am@osimis.io>
date Wed, 29 Nov 2023 10:24:18 +0100
parents c1b0f3c4e1f5
children 8b7c1c423367 2b797871eff6
comparison
equal deleted inserted replaced
418:a7f0f27fe33c 427:3cdea26ece73
153 VERSION ${ORTHANC_PLUGIN_VERSION} 153 VERSION ${ORTHANC_PLUGIN_VERSION}
154 SOVERSION ${ORTHANC_PLUGIN_VERSION} 154 SOVERSION ${ORTHANC_PLUGIN_VERSION}
155 COMPILE_FLAGS -DORTHANC_ENABLE_LOGGING_PLUGIN=1 155 COMPILE_FLAGS -DORTHANC_ENABLE_LOGGING_PLUGIN=1
156 ) 156 )
157 157
158 DefineSourceBasenameForTarget(OrthancPostgreSQLIndex)
159 DefineSourceBasenameForTarget(OrthancPostgreSQLStorage)
160
161
158 install( 162 install(
159 TARGETS OrthancPostgreSQLIndex OrthancPostgreSQLStorage 163 TARGETS OrthancPostgreSQLIndex OrthancPostgreSQLStorage
160 RUNTIME DESTINATION lib # Destination for Windows 164 RUNTIME DESTINATION lib # Destination for Windows
161 LIBRARY DESTINATION share/orthanc/plugins # Destination for Linux 165 LIBRARY DESTINATION share/orthanc/plugins # Destination for Linux
162 ) 166 )
176 180
177 target_link_libraries(UnitTests ${GOOGLE_TEST_LIBRARIES}) 181 target_link_libraries(UnitTests ${GOOGLE_TEST_LIBRARIES})
178 set_target_properties(UnitTests PROPERTIES 182 set_target_properties(UnitTests PROPERTIES
179 COMPILE_FLAGS -DORTHANC_ENABLE_LOGGING_PLUGIN=0 183 COMPILE_FLAGS -DORTHANC_ENABLE_LOGGING_PLUGIN=0
180 ) 184 )
185
186 DefineSourceBasenameForTarget(UnitTests)