Commit 531c00b96ff62e265f7ed770b3397186cce84c9f

Authored by Anders
Committed by jarro2783
1 parent 0d4bb287

Define alias target cxxopts::cxxopts (#194)

Showing 1 changed file with 1 additions and 0 deletions
CMakeLists.txt
@@ -53,6 +53,7 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "[Cc]lang" OR CMAKE_CXX_COMPILER_ID MATCHES @@ -53,6 +53,7 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "[Cc]lang" OR CMAKE_CXX_COMPILER_ID MATCHES
53 endif() 53 endif()
54 54
55 add_library(cxxopts INTERFACE) 55 add_library(cxxopts INTERFACE)
  56 +add_library(cxxopts::cxxopts ALIAS cxxopts)
56 57
57 # optionally, enable unicode support using the ICU library 58 # optionally, enable unicode support using the ICU library
58 set(CXXOPTS_USE_UNICODE_HELP FALSE CACHE BOOL "Use ICU Unicode library") 59 set(CXXOPTS_USE_UNICODE_HELP FALSE CACHE BOOL "Use ICU Unicode library")