We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f934885 commit ed3bb00Copy full SHA for ed3bb00
1 file changed
cmake/dep-link.cmake
@@ -90,6 +90,9 @@ IF (WITH_VIDEO)
90
target_link_libraries(simh_video INTERFACE ${SDL_ttf_LIBRARIES})
91
target_include_directories(simh_video INTERFACE ${SDL_ttf_INCLUDE_DIRS})
92
list(APPEND VIDEO_PKG_STATUS "detected SDL2_ttf")
93
+ ELSEIF (TARGET SDL2_ttf::SDL2_ttf-static)
94
+ target_link_libraries(simh_video INTERFACE SDL2_ttf::SDL2_ttf-static)
95
+ list(APPEND VIDEO_PKG_STATUS "SDL2_ttf static")
96
ELSE ()
97
message(FATAL_ERROR "SDL2_ttf_FOUND set but no SDL2_ttf::SDL2_ttf import library or SDL_ttf_LIBRARIES/SDL_ttf_INCLUDE_DIRS? ")
98
ENDIF ()
0 commit comments