Commit 78f3901d8df9af034f7d7e45353fb7a04b9980d8
1 parent
68fba8ae
add pkg-config cflags
Showing
1 changed file
with
1 additions
and
1 deletions
CMakeLists.txt
| @@ -47,7 +47,7 @@ if(CXXOPTS_USE_UNICODE_HELP) | @@ -47,7 +47,7 @@ if(CXXOPTS_USE_UNICODE_HELP) | ||
| 47 | pkg_check_modules(ICU REQUIRED icu-uc) | 47 | pkg_check_modules(ICU REQUIRED icu-uc) |
| 48 | 48 | ||
| 49 | set(CXXOPTS_LINKER_LIBRARIES "${ICU_LIBRARIES}") | 49 | set(CXXOPTS_LINKER_LIBRARIES "${ICU_LIBRARIES}") |
| 50 | - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DCXXOPTS_USE_UNICODE") | 50 | + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ICU_CFLAGS} -DCXXOPTS_USE_UNICODE") |
| 51 | 51 | ||
| 52 | endif() | 52 | endif() |
| 53 | 53 |