Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jarro2783/cxxopts.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders <panrosen@gmail.com>2019-08-01 10:50:05 +0300
committerjarro2783 <jarro.2783@gmail.com>2019-08-01 10:50:05 +0300
commit531c00b96ff62e265f7ed770b3397186cce84c9f (patch)
treecebc6e57a6e958ed28821de94c23ccddeed4c96b
parent0d4bb2871a1551863744fccfece9b085a4f74f29 (diff)
Define alias target cxxopts::cxxopts (#194)
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8d47687..f5226b9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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")