Workaround cmake bug 25222
This commit is contained in:
parent
a7129002d4
commit
2440fc9e87
1 changed files with 5 additions and 0 deletions
5
external/gsl/CMakeLists.txt
vendored
5
external/gsl/CMakeLists.txt
vendored
|
|
@ -22,6 +22,11 @@ if (DESKTOP_APP_USE_PACKAGED)
|
|||
endif()
|
||||
]]
|
||||
|
||||
# https://gitlab.kitware.com/cmake/cmake/-/issues/25222
|
||||
if (NOT EXISTS ${third_party_loc}/GSL/include)
|
||||
message(FATAL_ERROR "Guidelines Support Library is not found")
|
||||
endif()
|
||||
|
||||
target_include_directories(external_gsl SYSTEM
|
||||
INTERFACE
|
||||
${third_party_loc}/GSL/include
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue