diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2e222ad..f4e3b79 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -27,6 +27,6 @@ if (MSVC) endif () message(STATUS "SDL2_LIBRARIES: ${SDL2_LIBRARIES}") -target_link_libraries(${PROJECT_NAME} ${SDL2_LIBRARIES}) +target_link_libraries(${PROJECT_NAME} ${SDL2_LIBRARIES};SDL2::SDL2_ttf) -set(SDL2_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/include") \ No newline at end of file +set(SDL2_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/include")