comparison Samples/Sdl/CMakeLists.txt @ 1426:1e132fe7090e

fix dynamic linking
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 15 May 2020 13:04:34 +0200
parents 95674f9c169a
children 15173a383a00
comparison
equal deleted inserted replaced
1425:95674f9c169a 1426:1e132fe7090e
63 ../Common/RtViewerView.cpp 63 ../Common/RtViewerView.cpp
64 ../Common/RtViewerView.h 64 ../Common/RtViewerView.h
65 ../Common/SampleHelpers.h 65 ../Common/SampleHelpers.h
66 ) 66 )
67 67
68 target_link_libraries(RtViewerSdl ${DCMTK_LIBRARIES} OrthancStone) 68 target_link_libraries(RtViewerSdl OrthancStone ${DCMTK_LIBRARIES})
69 69
70 ############################# 70 #############################
71 project(SdlSimpleViewer) 71 project(SdlSimpleViewer)
72 72
73 add_executable(SdlSimpleViewer 73 add_executable(SdlSimpleViewer
76 SingleFrameViewer/SdlSimpleViewerApplication.h 76 SingleFrameViewer/SdlSimpleViewerApplication.h
77 SingleFrameViewer/SdlSimpleViewer.cpp 77 SingleFrameViewer/SdlSimpleViewer.cpp
78 ${BOOST_EXTENDED_SOURCES} 78 ${BOOST_EXTENDED_SOURCES}
79 ) 79 )
80 80
81 target_link_libraries(SdlSimpleViewer ${DCMTK_LIBRARIES} OrthancStone) 81 target_link_libraries(SdlSimpleViewer OrthancStone ${DCMTK_LIBRARIES})
82 82
83 ############################# 83 #############################
84 project(UnitTests) 84 project(UnitTests)
85 85
86 add_executable(UnitTests 86 add_executable(UnitTests
103 COMMAND ${CMAKE_COMMAND} -E copy 103 COMMAND ${CMAKE_COMMAND} -E copy
104 "${ORTHANC_STONE_ROOT}/UnitTestsSources/72c773ac-5059f2c4-2e6a9120-4fd4bca1-45701661.json" 104 "${ORTHANC_STONE_ROOT}/UnitTestsSources/72c773ac-5059f2c4-2e6a9120-4fd4bca1-45701661.json"
105 "$<TARGET_FILE_DIR:UnitTests>/72c773ac-5059f2c4-2e6a9120-4fd4bca1-45701661.json" 105 "$<TARGET_FILE_DIR:UnitTests>/72c773ac-5059f2c4-2e6a9120-4fd4bca1-45701661.json"
106 ) 106 )
107 107
108 target_link_libraries(UnitTests ${DCMTK_LIBRARIES} OrthancStone) 108 target_link_libraries(UnitTests OrthancStone ${DCMTK_LIBRARIES})