From fa2fd8f84f6c4d77a356e79aa0478f8f923e4dd9 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Fri, 6 Jan 2023 18:33:17 +1000 Subject: [PATCH] Build: Reference GSL --- src/common/CMakeLists.txt | 2 +- src/common/common.props | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 43cd717bf..30c6ce5ce 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -62,7 +62,7 @@ add_library(common target_include_directories(common PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/..") target_include_directories(common PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/..") target_link_libraries(common PUBLIC fmt Threads::Threads vulkan-headers) -target_link_libraries(common PRIVATE stb libchdr zlib minizip Zstd::Zstd "${CMAKE_DL_LIBS}") +target_link_libraries(common PRIVATE stb libchdr zlib minizip Zstd::Zstd GSL "${CMAKE_DL_LIBS}") if(WIN32) target_sources(common PRIVATE diff --git a/src/common/common.props b/src/common/common.props index 4296f37b3..de4945fec 100644 --- a/src/common/common.props +++ b/src/common/common.props @@ -4,7 +4,7 @@ WITH_OPENGL=1;WITH_VULKAN=1;%(PreprocessorDefinitions) $(SolutionDir)dep\glad\include;$(SolutionDir)dep\vulkan\include;%(AdditionalIncludeDirectories) - $(SolutionDir)dep\fmt\include;$(SolutionDir)dep\stb\include;$(SolutionDir)dep\glslang;$(SolutionDir)dep\zlib\include;$(SolutionDir)dep\minizip\include;$(SolutionDir)src;%(AdditionalIncludeDirectories) + $(SolutionDir)dep\gsl\include;$(SolutionDir)dep\fmt\include;$(SolutionDir)dep\stb\include;$(SolutionDir)dep\glslang;$(SolutionDir)dep\zlib\include;$(SolutionDir)dep\minizip\include;$(SolutionDir)src;%(AdditionalIncludeDirectories)