From 531c00b96ff62e265f7ed770b3397186cce84c9f Mon Sep 17 00:00:00 2001 From: Anders Date: Thu, 1 Aug 2019 09:50:05 +0200 Subject: [PATCH] Define alias target cxxopts::cxxopts (#194) --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+), 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") -- libgit2 0.21.4