Add linux support
This commit is contained in:
@@ -90,15 +90,13 @@ target_compile_definitions(destrum
|
||||
)
|
||||
|
||||
if (WIN32)
|
||||
if (BUILD_SHARED_LIBS)
|
||||
target_link_libraries(destrum
|
||||
PUBLIC SDL2::SDL2main SDL2::SDL2
|
||||
)
|
||||
else ()
|
||||
target_link_libraries(destrum
|
||||
PUBLIC SDL2::SDL2main SDL2::SDL2-static
|
||||
)
|
||||
endif ()
|
||||
target_link_libraries(destrum PUBLIC SDL2::SDL2main)
|
||||
endif ()
|
||||
|
||||
if (BUILD_SHARED_LIBS)
|
||||
target_link_libraries(destrum PUBLIC SDL2::SDL2)
|
||||
else ()
|
||||
target_link_libraries(destrum PUBLIC SDL2::SDL2-static)
|
||||
endif ()
|
||||
|
||||
target_compile_definitions(destrum
|
||||
|
||||
Reference in New Issue
Block a user