comparison Odbc/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 2b797871eff6
comparison
equal deleted inserted replaced
418:a7f0f27fe33c 427:3cdea26ece73
148 VERSION ${ORTHANC_PLUGIN_VERSION} 148 VERSION ${ORTHANC_PLUGIN_VERSION}
149 SOVERSION ${ORTHANC_PLUGIN_VERSION} 149 SOVERSION ${ORTHANC_PLUGIN_VERSION}
150 COMPILE_FLAGS -DORTHANC_ENABLE_LOGGING_PLUGIN=1 150 COMPILE_FLAGS -DORTHANC_ENABLE_LOGGING_PLUGIN=1
151 ) 151 )
152 152
153 DefineSourceBasenameForTarget(OrthancOdbcIndex)
154 DefineSourceBasenameForTarget(OrthancOdbcStorage)
155
153 install( 156 install(
154 TARGETS OrthancOdbcIndex OrthancOdbcStorage 157 TARGETS OrthancOdbcIndex OrthancOdbcStorage
155 RUNTIME DESTINATION lib # Destination for Windows 158 RUNTIME DESTINATION lib # Destination for Windows
156 LIBRARY DESTINATION share/orthanc/plugins # Destination for Linux 159 LIBRARY DESTINATION share/orthanc/plugins # Destination for Linux
157 ) 160 )
172 175
173 target_link_libraries(UnitTests ${GOOGLE_TEST_LIBRARIES}) 176 target_link_libraries(UnitTests ${GOOGLE_TEST_LIBRARIES})
174 set_target_properties(UnitTests PROPERTIES 177 set_target_properties(UnitTests PROPERTIES
175 COMPILE_FLAGS -DORTHANC_ENABLE_LOGGING_PLUGIN=0 178 COMPILE_FLAGS -DORTHANC_ENABLE_LOGGING_PLUGIN=0
176 ) 179 )
180
181 DefineSourceBasenameForTarget(UnitTests)