Fix build with packaged range-v3.
This commit is contained in:
parent
633422c622
commit
204c3fec5c
1 changed files with 1 additions and 0 deletions
1
external/ranges/CMakeLists.txt
vendored
1
external/ranges/CMakeLists.txt
vendored
|
|
@ -9,6 +9,7 @@ add_library(desktop-app::external_ranges ALIAS external_ranges)
|
|||
|
||||
if (DESKTOP_APP_USE_PACKAGED)
|
||||
find_package(range-v3 REQUIRED)
|
||||
target_link_libraries(external_ranges INTERFACE range-v3::range-v3)
|
||||
else()
|
||||
target_include_directories(external_ranges SYSTEM
|
||||
INTERFACE
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue