Fix build on Ubuntu 20.04 LTS
This commit is contained in:
committed by
David Hrdlička
parent
e6635d6bb4
commit
68a9e4094f
@@ -83,8 +83,10 @@ find_package(SDL2 REQUIRED)
|
||||
include_directories(${SDL2_INCLUDE_DIRS})
|
||||
if(MINGW)
|
||||
target_link_libraries(86Box SDL2::SDL2-static)
|
||||
else()
|
||||
elseif(WIN32)
|
||||
target_link_libraries(86Box SDL2::SDL2)
|
||||
else()
|
||||
target_link_libraries(86Box ${SDL2_LIBRARIES})
|
||||
endif()
|
||||
|
||||
find_package(PNG REQUIRED)
|
||||
|
Reference in New Issue
Block a user