Skip to content

Commit

Permalink
add alias target for doctest for use in build tree (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
trondhe authored and Viktor Kirilov committed Jul 6, 2019
1 parent 2ce8c59 commit de04576
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit de04576

Please sign in to comment.