change to ldflags

This commit is contained in:
Jarryd Beck 2016-12-02 18:05:58 +11:00
parent 78f3901d8d
commit f6bd09df63

View File

@ -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()