change to ldflags
This commit is contained in:
parent
78f3901d8d
commit
f6bd09df63
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user