Mercurial > hg > orthanc-databases
comparison PostgreSQL/CMakeLists.txt @ 425:c1b0f3c4e1f5
sync Orthanc code
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 13 Nov 2023 20:37:04 +0100 |
parents | 07622792f862 |
children | 8b7c1c423367 2b797871eff6 |
comparison
equal
deleted
inserted
replaced
423:7d2ba3ece4ee | 425:c1b0f3c4e1f5 |
---|---|
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) |