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

github.com/onqtam/doctest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrond H Emaus <trondhe@gmail.com>2019-06-24 01:57:25 +0300
committerViktor Kirilov <vkirilov@nuodb.com>2019-07-06 18:54:43 +0300
commitde04576ecf0be3e23d25104279887bc43c8d4d78 (patch)
treef6d0db784ec1c7b678724b84514ac162fc23900c /CMakeLists.txt
parent2ce8c59c108b58c4f5c723c017eaad7b8fa80a4a (diff)
add alias target for doctest for use in build tree (#247)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 66b387b5..0ca52aab 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,6 +12,7 @@ option(DOCTEST_WITH_MAIN_IN_STATIC_LIB "Build a static lib (cmake target) with
option(DOCTEST_NO_INSTALL "Skip the installation process" OFF)
add_library(${PROJECT_NAME} INTERFACE)
+add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
set(doctest_parts_folder "${CMAKE_CURRENT_SOURCE_DIR}/doctest/parts")