chore: small changes to LuaJIT CMake (#599)

This commit is contained in:
PlayDay
2025-07-02 16:05:32 +02:00
committed by GitHub
parent 71bceb3fdb
commit 03c4a60abf
2 changed files with 2 additions and 5 deletions
+1
View File
@@ -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
View File
@@ -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)