Add separate option for packaged GSL
This commit is contained in:
parent
d3fdda7ba9
commit
f47a08eb83
2 changed files with 2 additions and 1 deletions
2
external/gsl/CMakeLists.txt
vendored
2
external/gsl/CMakeLists.txt
vendored
|
|
@ -7,7 +7,7 @@
|
|||
add_library(external_gsl INTERFACE IMPORTED GLOBAL)
|
||||
add_library(desktop-app::external_gsl ALIAS external_gsl)
|
||||
|
||||
if (DESKTOP_APP_USE_PACKAGED)
|
||||
if (DESKTOP_APP_USE_PACKAGED_GSL)
|
||||
find_path(GSL_INCLUDE_DIRS gsl/gsl)
|
||||
|
||||
if (NOT GSL_INCLUDE_DIRS)
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ option(DESKTOP_APP_DISABLE_CRASH_REPORTS "Disable crash report generation." ${DE
|
|||
option(DESKTOP_APP_USE_PACKAGED_RLOTTIE "Find rlottie using CMake instead of bundled one." ${DESKTOP_APP_USE_PACKAGED})
|
||||
option(DESKTOP_APP_USE_PACKAGED_EXPECTED "Find expected using CMake instead of bundled one." ${DESKTOP_APP_USE_PACKAGED})
|
||||
option(DESKTOP_APP_USE_PACKAGED_VARIANT "Find mapbox-variant using CMake instead of bundled one." ${DESKTOP_APP_USE_PACKAGED})
|
||||
option(DESKTOP_APP_USE_PACKAGED_GSL "Find GSL using CMake instead of bundled one." ${DESKTOP_APP_USE_PACKAGED})
|
||||
option(DESKTOP_APP_USE_PACKAGED_FONTS "Use preinstalled fonts instead of bundled one." ${DESKTOP_APP_USE_PACKAGED})
|
||||
|
||||
option(DESKTOP_APP_ENABLE_IPO_OPTIMIZATIONS "Enable IPO build optimizations." OFF)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue