Define alias target cxxopts::cxxopts (#194)

This commit is contained in:
Anders 2019-08-01 09:50:05 +02:00 committed by jarro2783
parent 0d4bb2871a
commit 531c00b96f

View File

@ -53,6 +53,7 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "[Cc]lang" OR CMAKE_CXX_COMPILER_ID MATCHES
endif()
add_library(cxxopts INTERFACE)
add_library(cxxopts::cxxopts ALIAS cxxopts)
# optionally, enable unicode support using the ICU library
set(CXXOPTS_USE_UNICODE_HELP FALSE CACHE BOOL "Use ICU Unicode library")