mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-22 18:55:42 +00: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 a new issue