changeset 3270:92d679112657

cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 Feb 2019 14:59:52 +0100
parents 905ee53c8274
children 81dafe9be364
files CMakeLists.txt Resources/CMake/LibIcuConfiguration.cmake
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Wed Feb 20 14:56:59 2019 +0100
+++ b/CMakeLists.txt	Wed Feb 20 14:59:52 2019 +0100
@@ -290,7 +290,11 @@
   ${ORTHANC_CORE_SOURCES}
   ${ORTHANC_DICOM_SOURCES}
   ${AUTOGENERATED_SOURCES}
-  )  
+  )
+
+if (LIBICU_LIBRARIES)
+  target_link_libraries(CoreLibrary ${LIBICU_LIBRARIES})
+endif()
 
 
 #####################################################################
--- a/Resources/CMake/LibIcuConfiguration.cmake	Wed Feb 20 14:56:59 2019 +0100
+++ b/Resources/CMake/LibIcuConfiguration.cmake	Wed Feb 20 14:59:52 2019 +0100
@@ -18,7 +18,7 @@
     # precompiled binary generated using MinGW on Linux
     DownloadCompressedFile(${LIBICU_DATA_WIN64_MD5} ${LIBICU_DATA_WIN64_URL} ${LIBICU_DATA_WIN64})
 
-    set(LIBICU_SOURCES
+    set(LIBICU_LIBRARIES
       ${CMAKE_BINARY_DIR}/${LIBICU_DATA_WIN64}
       )
   else()