mirror of https://github.com/jarro2783/cxxopts.git
add pkg-config cflags
This commit is contained in:
parent
68fba8aeca
commit
78f3901d8d
|
|
@ -47,7 +47,7 @@ if(CXXOPTS_USE_UNICODE_HELP)
|
|||
pkg_check_modules(ICU REQUIRED icu-uc)
|
||||
|
||||
set(CXXOPTS_LINKER_LIBRARIES "${ICU_LIBRARIES}")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DCXXOPTS_USE_UNICODE")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ICU_CFLAGS} -DCXXOPTS_USE_UNICODE")
|
||||
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue