Commit f6bd09df63fb02e720304cda7e5107f4dcaf6b3c
1 parent
78f3901d
change to ldflags
Showing
1 changed file
with
1 additions
and
1 deletions
CMakeLists.txt
| ... | ... | @@ -46,7 +46,7 @@ if(CXXOPTS_USE_UNICODE_HELP) |
| 46 | 46 | |
| 47 | 47 | pkg_check_modules(ICU REQUIRED icu-uc) |
| 48 | 48 | |
| 49 | - set(CXXOPTS_LINKER_LIBRARIES "${ICU_LIBRARIES}") | |
| 49 | + set(CXXOPTS_LINKER_LIBRARIES "${ICU_LDFLAGS}") | |
| 50 | 50 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ICU_CFLAGS} -DCXXOPTS_USE_UNICODE") |
| 51 | 51 | |
| 52 | 52 | endif() | ... | ... |