mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-11-07 19:54:53 +03:00
make: Don't set CMAKE_SYSTEM_NAME=Linux
This broke libaom optimization detection, since cmake appears not to set vars like CMAKE_SYSTEM_PROCESSOR if CMAKE_SYSTEM_NAME is set.
This commit is contained in:
parent
e3a12c2f18
commit
bfc4b2330d
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ $$(OBJ)/.$(1)-configure$(3): $$($(2)_SRC)/CMakeLists.txt
|
||||||
-DCMAKE_INSTALL_PREFIX="$$($(2)_DST$(3))" \
|
-DCMAKE_INSTALL_PREFIX="$$($(2)_DST$(3))" \
|
||||||
-DCMAKE_INSTALL_LIBDIR="lib$(subst 32,,$(3))" \
|
-DCMAKE_INSTALL_LIBDIR="lib$(subst 32,,$(3))" \
|
||||||
-DCMAKE_BUILD_TYPE=plain \
|
-DCMAKE_BUILD_TYPE=plain \
|
||||||
-DCMAKE_SYSTEM_NAME=$(if $(4),Windows,Linux) \
|
-DCMAKE_SYSTEM_NAME=$(if $(4),Windows,) \
|
||||||
-DCMAKE_SHARED_LIBRARY_PREFIX_C=$(if $(4),,lib) \
|
-DCMAKE_SHARED_LIBRARY_PREFIX_C=$(if $(4),,lib) \
|
||||||
-DCMAKE_IMPORT_LIBRARY_PREFIX_C=$(if $(4),,lib) \
|
-DCMAKE_IMPORT_LIBRARY_PREFIX_C=$(if $(4),,lib) \
|
||||||
$$($(2)_CMAKE_ARGS) \
|
$$($(2)_CMAKE_ARGS) \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue