From 1552ff82a7956b9632bcb76bd668194bcee0ca14 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 7 Jan 2023 16:00:20 +1000 Subject: [PATCH] CMake: Fix Linux build --- src/common/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 30c6ce5ce..bfa2950cb 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -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