Skip to content

Commit

Permalink
build(deps): make range-v3 target globally visible
Browse files Browse the repository at this point in the history
  • Loading branch information
JohelEGP committed May 18, 2020
1 parent a379f49 commit dd9e15e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/JEGPFindDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ CPMFindPackage(
list(APPEND CMAKE_MODULE_PATH "${jegp_cmake_modules_SOURCE_DIR}")

if(range-v3_ADDED)
add_library(range-v3::range-v3 INTERFACE IMPORTED)
add_library(range-v3::range-v3 INTERFACE IMPORTED GLOBAL)
target_include_directories(range-v3::range-v3
INTERFACE ${range-v3_SOURCE_DIR}/include)
endif()

0 comments on commit dd9e15e

Please sign in to comment.