mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-26 05:28:15 +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
@ -17,7 +17,7 @@ $$(OBJ)/.$(1)-configure$(3): $$($(2)_SRC)/CMakeLists.txt
|
||||
-DCMAKE_INSTALL_PREFIX="$$($(2)_DST$(3))" \
|
||||
-DCMAKE_INSTALL_LIBDIR="lib$(subst 32,,$(3))" \
|
||||
-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_IMPORT_LIBRARY_PREFIX_C=$(if $(4),,lib) \
|
||||
$$($(2)_CMAKE_ARGS) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user