Skip to content

Commit

Permalink
Merge pull request #1622 from SmorkalovG/issue-1621-cmake-fix
Browse files Browse the repository at this point in the history
CMake: Fix find_package and_add subdirectory. Fixes #1621
  • Loading branch information
ericniebler authored Apr 22, 2021
2 parents 1120609 + 4abf6d6 commit 4a3c38c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/range-v3-config.cmake
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
include("${CMAKE_CURRENT_LIST_DIR}/range-v3-targets.cmake")

if (TARGET range-v3::meta)
return()
endif()

include("${CMAKE_CURRENT_LIST_DIR}/range-v3-targets.cmake")

add_library(range-v3::meta INTERFACE IMPORTED)
add_library(range-v3::concepts INTERFACE IMPORTED)
add_library(range-v3::range-v3 INTERFACE IMPORTED)
Expand Down

0 comments on commit 4a3c38c

Please sign in to comment.