cmake: LINKER_LANGUAGE is a target property, not a cmake variable
LINKER_LANGUAGE needs to be used as following: Usage cmake [options] <path-to-source> cmake [options] <path-to-existing-build> cmake [options] -S <path-to-source> -B <path-to-build> Specify a source directory to (re-)generate a build system for it in the current working directory. Specify an existing build directory to re-generate its build system. Run 'cmake --help' for more information. Haiku does not not this property explicitly set because CMake knows .cc files are c++
This commit is contained in:
committed by
Sam Lantinga
parent
69812678cf
commit
a787b1c0b7
@@ -11,10 +11,6 @@ else()
|
|||||||
set(SDL3_SUBPROJECT ON)
|
set(SDL3_SUBPROJECT ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (HAIKU)
|
|
||||||
set(LINKER_LANGUAGE CXX)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(EXTRA_LIBS)
|
set(EXTRA_LIBS)
|
||||||
set(EXTRA_LDFLAGS)
|
set(EXTRA_LDFLAGS)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user