--- CMakeLists.txt.orig 2019-01-11 01:31:25 UTC +++ CMakeLists.txt @@ -453,7 +453,7 @@ IF(ENABLE_SDL AND SDL2_FOUND AND SDL2_IMAGE_FOUND) TARGET_LINK_LIBRARIES(${PROJECT_NAME}_sdl ${SDL2_LIBRARY} ${SDL2_IMAGE_LIBRARY} ${SDL_TTF_LIBRARY} ${PROJECT_NAME}) ENDIF(MINGW) ELSE(WIN32) - TARGET_LINK_LIBRARIES(${PROJECT_NAME}_sdl ${SDL2_LIBRARY} ${SDL2_IMAGE_LIBRARY} ${PROJECT_NAME}) + TARGET_LINK_LIBRARIES(${PROJECT_NAME}_sdl ${SDL2_LIBRARY} ${SDL2_IMAGE_LIBRARY} ${SDL_TTF_LIBRARY} ${PROJECT_NAME}) ENDIF(WIN32) ADD_CUSTOM_TARGET(sdllib DEPENDS ${PROJECT_NAME}_sdl) # Create symlink