comparison CMakeLists.txt @ 12:379131283479

version
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 11 Mar 2015 14:23:24 +0100
parents dc81c1ad61c7
children 09421764214b
comparison
equal deleted inserted replaced
11:dc81c1ad61c7 12:379131283479
181 endif() 181 endif()
182 182
183 target_link_libraries(OrthancWebViewer ${GDCM_LIBRARIES} ${OS_LIBRARIES}) 183 target_link_libraries(OrthancWebViewer ${GDCM_LIBRARIES} ${OS_LIBRARIES})
184 184
185 message("Setting the version of the library to ${ORTHANC_WEBVIEWER_VERSION}") 185 message("Setting the version of the library to ${ORTHANC_WEBVIEWER_VERSION}")
186
187 add_definitions(-DORTHANC_WEBVIEWER_VERSION="${ORTHANC_WEBVIEWER_VERSION}")
188
186 set_target_properties(OrthancWebViewer PROPERTIES 189 set_target_properties(OrthancWebViewer PROPERTIES
187 VERSION ${ORTHANC_WEBVIEWER_VERSION} 190 VERSION ${ORTHANC_WEBVIEWER_VERSION}
188 SOVERSION ${ORTHANC_WEBVIEWER_VERSION}) 191 SOVERSION ${ORTHANC_WEBVIEWER_VERSION})
189 192
190 install( 193 install(