remove unneeded linkage to SDL

develop
Myk Taylor 2023-07-18 23:15:22 -07:00
parent c5152dea98
commit 7ec34ec5f8
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

@ -394,7 +394,7 @@ macro(dfhack_test name files)
if(UNIX AND NOT APPLE) # remove this once our MSVC build env has been updated if(UNIX AND NOT APPLE) # remove this once our MSVC build env has been updated
add_executable(${name} ${files}) add_executable(${name} ${files})
target_include_directories(${name} PUBLIC depends/googletest/googletest/include) 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}) add_test(NAME ${name} COMMAND ${name})
endif() endif()
endmacro() endmacro()

@ -25,7 +25,7 @@ set(PROJECT_PROTO
) )
if(UNIX AND NOT APPLE) if(UNIX AND NOT APPLE)
set(PROJECT_LIBS ${PROJECT_LIBS} SDL) set(PROJECT_LIBS ${PROJECT_LIBS})
endif() endif()
# this makes sure all the stuff is put in proper places and linked to dfhack # this makes sure all the stuff is put in proper places and linked to dfhack