mirror of
https://github.com/GayPizzaSpecifications/padlab.git
synced 2025-08-02 21:00:56 +00:00
hack to fix runtime errors on macos when using global SDL2 framework
This commit is contained in:
parent
4b5bc193ba
commit
2496f9e2a3
@ -17,6 +17,8 @@ function (common_setup _TARGET)
|
||||
$<$<BOOL:${GNU}>:m>)
|
||||
target_compile_options(${_TARGET} PRIVATE
|
||||
$<$<BOOL:${GNU}>:-Wall -Wextra -pedantic -Wno-unused-parameter>)
|
||||
target_link_options(${_TARGET} PRIVATE
|
||||
$<$<PLATFORM_ID:Darwin>:-Wl,-rpath,/Library/Frameworks>)
|
||||
endfunction()
|
||||
|
||||
add_executable(${TARGET} ${SOURCES_COMMON} ${SOURCES_SDL_RENDERER})
|
||||
|
Loading…
Reference in New Issue
Block a user