mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-25 09:17:12 +01:00
cmake: Force linker to treat input as a C++ program on Haiku.
Reference issue #4590.
This commit is contained in:
parent
88674b4a0e
commit
b83a019d68
@ -10,6 +10,10 @@ if(WINDOWS_STORE)
|
||||
add_definitions(-DSDL_BUILDING_WINRT=1 -ZW)
|
||||
endif()
|
||||
|
||||
if (HAIKU)
|
||||
set(LINKER_LANGUAGE CXX)
|
||||
endif()
|
||||
|
||||
# !!! FIXME: this should probably do "MACOSX_RPATH ON" as a target property
|
||||
# !!! FIXME: for the SDL2 shared library (so you get an
|
||||
# !!! FIXME: install_name ("soname") of "@rpath/libSDL-whatever.dylib"
|
||||
|
Loading…
Reference in New Issue
Block a user