mirror of
https://github.com/NoelFB/blah.git
synced 2026-11-16 03:05:14 +08:00
Add required headers to compile on macos
This commit is contained in:
1 parent
d8930f15ac
commit
4e80149987
8 files changed
+13
-5
No files matched your search
@@ -90,6 +90,7 @@ endif()
|
||||
|
||||
# Link and create SDL2 Definition if we're using SDL2
|
||||
if (SDL2_ENABLED)
|
||||
find_package(SDL2 REQUIRED)
|
||||
add_compile_definitions(BLAH_USE_SDL2)
|
||||
target_include_directories(blah PUBLIC "$<BUILD_INTERFACE:${SDL2_INCLUDE_DIRS}>")
|
||||
set(LIBS ${LIBS} ${SDL2_LIBRARIES})
|
||||
|
||||
Reference in new issue
Block a user