diff --git a/CMakeLists.txt b/CMakeLists.txt index 95e070f..1adc963 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,7 +46,7 @@ if(CXXOPTS_USE_UNICODE_HELP) pkg_check_modules(ICU REQUIRED icu-uc) - set(CXXOPTS_LINKER_LIBRARIES "${ICU_LIBRARIES}") + set(CXXOPTS_LINKER_LIBRARIES "${ICU_LDFLAGS}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ICU_CFLAGS} -DCXXOPTS_USE_UNICODE") endif()