mirror of
https://github.com/open-simh/simh.git
synced 2026-05-19 12:42:30 +00:00
Use SDL2_ttf-static as a last chance
This commit is contained in:
@@ -90,6 +90,9 @@ IF (WITH_VIDEO)
|
||||
target_link_libraries(simh_video INTERFACE ${SDL_ttf_LIBRARIES})
|
||||
target_include_directories(simh_video INTERFACE ${SDL_ttf_INCLUDE_DIRS})
|
||||
list(APPEND VIDEO_PKG_STATUS "detected SDL2_ttf")
|
||||
ELSEIF (TARGET SDL2_ttf::SDL2_ttf-static)
|
||||
target_link_libraries(simh_video INTERFACE SDL2_ttf::SDL2_ttf-static)
|
||||
list(APPEND VIDEO_PKG_STATUS "SDL2_ttf static")
|
||||
ELSE ()
|
||||
message(FATAL_ERROR "SDL2_ttf_FOUND set but no SDL2_ttf::SDL2_ttf import library or SDL_ttf_LIBRARIES/SDL_ttf_INCLUDE_DIRS? ")
|
||||
ENDIF ()
|
||||
|
||||
Reference in New Issue
Block a user