CMake: Fix Linux build

This commit is contained in:
Connor McLaughlin 2023-01-07 16:00:20 +10:00
parent 19b4f4e921
commit 1552ff82a7
1 changed files with 2 additions and 2 deletions

View File

@ -61,8 +61,8 @@ 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 GSL "${CMAKE_DL_LIBS}")
target_link_libraries(common PUBLIC fmt Threads::Threads vulkan-headers GSL)
target_link_libraries(common PRIVATE stb libchdr zlib minizip Zstd::Zstd "${CMAKE_DL_LIBS}")
if(WIN32)
target_sources(common PRIVATE