Merge pull request #3583 from myk002/myk_no_sdl

remove unneeded linkage to SDL
develop
Myk 2023-07-19 08:25:43 -07:00 committed by GitHub
commit a9d91e0418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
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()

@ -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