From efd1a5607b5e0faaa1a269d60cd406f1139513db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Ros=C3=A9n?= Date: Thu, 1 Aug 2019 00:35:23 +0200 Subject: [PATCH] Define alias target cxxopts::cxxopts --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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")