comparison CMakeLists.txt @ 4063:e00f3d089991 framework

shared library of orthanc framework
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 11 Jun 2020 16:40:34 +0200
parents 149172a06b4d
children
comparison
equal deleted inserted replaced
4062:0953b3dc3261 4063:e00f3d089991
246 246
247 ##################################################################### 247 #####################################################################
248 ## Configuration of the C/C++ macros 248 ## Configuration of the C/C++ macros
249 ##################################################################### 249 #####################################################################
250 250
251 if (STATIC_BUILD)
252 add_definitions(-DORTHANC_STATIC=1)
253 else()
254 add_definitions(-DORTHANC_STATIC=0)
255 endif()
256
257
251 if (ENABLE_PLUGINS) 258 if (ENABLE_PLUGINS)
252 add_definitions(-DORTHANC_ENABLE_PLUGINS=1) 259 add_definitions(-DORTHANC_ENABLE_PLUGINS=1)
253 else() 260 else()
254 add_definitions(-DORTHANC_ENABLE_PLUGINS=0) 261 add_definitions(-DORTHANC_ENABLE_PLUGINS=0)
255 endif() 262 endif()