diff options
author | Saturneric <[email protected]> | 2022-05-13 18:58:55 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-05-13 18:58:55 +0000 |
commit | 83edd6aa60cc76a7d76efcb5147954f6041f8ee2 (patch) | |
tree | f63a331830078ba7f2b2726839a4e146bcdbb028 | |
parent | fix: slove loading issues at init (diff) | |
parent | fix: solve build issues (diff) | |
download | GpgFrontend-83edd6aa60cc76a7d76efcb5147954f6041f8ee2.tar.gz GpgFrontend-83edd6aa60cc76a7d76efcb5147954f6041f8ee2.zip |
Merge remote-tracking branch 'origin/develop-2.0.8' into develop-2.0.8
-rw-r--r-- | src/core/CMakeLists.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 61b6e7b0..ee0e39a1 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -67,10 +67,12 @@ if(APPLE) target_include_directories(gpgfrontend_core PRIVATE /usr/local/opt/icu4c/include) target_link_directories(gpgfrontend_core PRIVATE /usr/local/opt/icu4c/lib) target_link_libraries(gpgfrontend_core PRIVATE icui18n icuuc icudata) -else() - find_package(ICU 60.0 REQUIRED COMPONENTS i18n) - target_link_libraries(gpgfrontend_core PRIVATE ICU::i18n) -endif() +else () + find_package(ICU 60.0 REQUIRED COMPONENTS i18n uc data) + message("ICU version: ${ICU_VERSION}") + message("ICU libraries: ${ICU_LIBRARIES}") + target_link_libraries(gpgfrontend_core PRIVATE ${ICU_LIBRARIES}) +endif () # link gnupg libraries target_link_libraries(gpgfrontend_core PUBLIC gpgme assuan gpg-error) |