Fix aurora_main compilation

This commit is contained in:
Luke Street 2023-05-27 14:57:49 -04:00
parent 74984bd1fe
commit 7ed3f03c6b
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ endif ()
add_library(aurora_main STATIC lib/main.cpp)
target_include_directories(aurora_main PUBLIC include)
target_link_libraries(aurora_main PUBLIC SDL2::SDL2main)
target_link_libraries(aurora_main PUBLIC SDL2::SDL2-static SDL2::SDL2main)
add_library(aurora::main ALIAS aurora_main)
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)