From 7ec34ec5f880645c8f3fa2802e8576b6d797da78 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Tue, 18 Jul 2023 23:15:22 -0700 Subject: [PATCH] remove unneeded linkage to SDL --- CMakeLists.txt | 2 +- plugins/remotefortressreader/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f4cb3a9f3..69a3efed9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -394,7 +394,7 @@ macro(dfhack_test name files) if(UNIX AND NOT APPLE) # remove this once our MSVC build env has been updated add_executable(${name} ${files}) target_include_directories(${name} PUBLIC depends/googletest/googletest/include) - target_link_libraries(${name} dfhack gtest SDL) + target_link_libraries(${name} dfhack gtest) add_test(NAME ${name} COMMAND ${name}) endif() endmacro() diff --git a/plugins/remotefortressreader/CMakeLists.txt b/plugins/remotefortressreader/CMakeLists.txt index 262d163f1..37aa64b23 100644 --- a/plugins/remotefortressreader/CMakeLists.txt +++ b/plugins/remotefortressreader/CMakeLists.txt @@ -25,7 +25,7 @@ set(PROJECT_PROTO ) if(UNIX AND NOT APPLE) - set(PROJECT_LIBS ${PROJECT_LIBS} SDL) + set(PROJECT_LIBS ${PROJECT_LIBS}) endif() # this makes sure all the stuff is put in proper places and linked to dfhack