mirror of
https://github.com/YimMenu/YimMenuV2.git
synced 2026-10-10 03:43:15 +08:00
chore: small changes to LuaJIT CMake (#599)
This commit is contained in:
@@ -11,6 +11,7 @@ if(CROSSCOMPILE)
|
|||||||
|
|
||||||
# Set the CMake system name to Windows for cross-compilation
|
# Set the CMake system name to Windows for cross-compilation
|
||||||
set(CMAKE_SYSTEM_NAME Windows)
|
set(CMAKE_SYSTEM_NAME Windows)
|
||||||
|
set(CMAKE_SYSTEM_VERSION 10.0.26100)
|
||||||
|
|
||||||
# adjust the default behavior of the FIND_XXX() commands:
|
# adjust the default behavior of the FIND_XXX() commands:
|
||||||
# search programs in the host environment
|
# search programs in the host environment
|
||||||
|
|||||||
+1
-5
@@ -1,11 +1,7 @@
|
|||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
|
|
||||||
message("LuaJIT")
|
message(STATUS "Setting up LuaJIT")
|
||||||
|
|
||||||
# For some reason putting this into crosscompile.cmake doesn't work.
|
|
||||||
if(CROSSCOMPILE)
|
|
||||||
set(CMAKE_SYSTEM_VERSION 10.0.26100)
|
|
||||||
endif()
|
|
||||||
set(LUAJIT_BUILD_TOOL OFF)
|
set(LUAJIT_BUILD_TOOL OFF)
|
||||||
set(LUAJIT_FORCE_UTF8_FOPEN ON)
|
set(LUAJIT_FORCE_UTF8_FOPEN ON)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user