Skip to content

Commit

Permalink
Workaround cmake bug 25222
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-fedin authored and john-preston committed Sep 4, 2023
1 parent a712900 commit 2440fc9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions external/gsl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2440fc9

Please sign in to comment.