comparison CMakeLists.txt @ 147:ad189440edcf

merge
author Alain Mazy <am@osimis.io>
date Tue, 13 Feb 2024 11:24:25 +0100
parents 9a9be09b9a30
children 9be1ee2b8fe1
comparison
equal deleted inserted replaced
146:f294a3c6dbe6 147:ad189440edcf
168 168
169 add_library(OrthancAuthorization SHARED 169 add_library(OrthancAuthorization SHARED
170 ${PLUGIN_SOURCES} 170 ${PLUGIN_SOURCES}
171 ) 171 )
172 172
173 DefineSourceBasenameForTarget(OrthancAuthorization) 173 if (COMMAND DefineSourceBasenameForTarget)
174 DefineSourceBasenameForTarget(OrthancAuthorization)
175 endif()
174 176
175 add_dependencies(OrthancAuthorization AutogeneratedTarget) 177 add_dependencies(OrthancAuthorization AutogeneratedTarget)
176 178
177 message("Setting the version of the plugin to ${ORTHANC_PLUGIN_VERSION}") 179 message("Setting the version of the plugin to ${ORTHANC_PLUGIN_VERSION}")
178 add_definitions(-DORTHANC_PLUGIN_VERSION="${ORTHANC_PLUGIN_VERSION}") 180 add_definitions(-DORTHANC_PLUGIN_VERSION="${ORTHANC_PLUGIN_VERSION}")