comparison OrthancServer/CMakeLists.txt @ 5569:738f80622e91 find-refactoring

merge default -> find-refactoring
author Alain Mazy <am@orthanc.team>
date Thu, 25 Apr 2024 17:07:33 +0200
parents 12d8a1a266e9 0b18690c1935
children 9e74e761b108
comparison
equal deleted inserted replaced
5568:b0b5546f1b9f 5569:738f80622e91
498 ${UUID_SOURCES} 498 ${UUID_SOURCES}
499 ${ZLIB_SOURCES} 499 ${ZLIB_SOURCES}
500 500
501 ${CMAKE_SOURCE_DIR}/../OrthancFramework/Resources/ThirdParty/base64/base64.cpp 501 ${CMAKE_SOURCE_DIR}/../OrthancFramework/Resources/ThirdParty/base64/base64.cpp
502 ${CMAKE_SOURCE_DIR}/../OrthancFramework/Resources/ThirdParty/md5/md5.c 502 ${CMAKE_SOURCE_DIR}/../OrthancFramework/Resources/ThirdParty/md5/md5.c
503
504 # the orthanc framework sources
505 ${ORTHANC_CORE_SOURCES}
506
503 Plugins/Samples/Common/OrthancPluginCppWrapper.cpp 507 Plugins/Samples/Common/OrthancPluginCppWrapper.cpp
504 ) 508 )
505 509
506 if (BUILD_DELAYED_DELETION) 510 if (BUILD_DELAYED_DELETION)
507 list(APPEND PLUGINS_DEPENDENCIES_SOURCES 511 list(APPEND PLUGINS_DEPENDENCIES_SOURCES
521 add_library(PluginsDependencies STATIC 525 add_library(PluginsDependencies STATIC
522 ${PLUGINS_DEPENDENCIES_SOURCES} 526 ${PLUGINS_DEPENDENCIES_SOURCES}
523 ) 527 )
524 528
525 DefineSourceBasenameForTarget(PluginsDependencies) 529 DefineSourceBasenameForTarget(PluginsDependencies)
530
531 target_include_directories(PluginsDependencies PUBLIC ${CMAKE_SOURCE_DIR}/../OrthancFramework/Sources)
526 532
527 # Add the "-fPIC" option as this static library must be embedded 533 # Add the "-fPIC" option as this static library must be embedded
528 # inside shared libraries (important on UNIX) 534 # inside shared libraries (important on UNIX)
529 set_target_properties( 535 set_target_properties(
530 PluginsDependencies 536 PluginsDependencies