Mercurial > hg > orthanc
comparison Resources/CMake/LibIcuConfiguration.cmake @ 3488:48231cfd2693
try and fix dynamic linking against libicu on openSUSE
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 09 Aug 2019 09:19:51 +0200 |
parents | 2a38e00a0638 |
children |
comparison
equal
deleted
inserted
replaced
3487:ce29644acd19 | 3488:48231cfd2693 |
---|---|
69 | 69 |
70 if (NOT LIBICU_PATH_1 OR | 70 if (NOT LIBICU_PATH_1 OR |
71 NOT LIBICU_PATH_2) | 71 NOT LIBICU_PATH_2) |
72 message(FATAL_ERROR "Please install the libicu-dev package") | 72 message(FATAL_ERROR "Please install the libicu-dev package") |
73 else() | 73 else() |
74 link_libraries(icuuc icui18n) | 74 link_libraries(${LIBICU_PATH_1} ${LIBICU_PATH_2}) |
75 endif() | 75 endif() |
76 | 76 |
77 add_definitions( | 77 add_definitions( |
78 -DORTHANC_STATIC_ICU=0 | 78 -DORTHANC_STATIC_ICU=0 |
79 ) | 79 ) |