mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
get openmw building with LuaJIT on macos
This commit is contained in:
parent
42e50e487a
commit
08a9abc46f
@ -17,7 +17,7 @@ qmake --version
|
||||
|
||||
brew install lua
|
||||
|
||||
curl -fSL -R -J https://gitlab.com/OpenMW/openmw-deps/-/raw/main/macos/openmw-deps-20210617.zip -o ~/openmw-deps.zip
|
||||
curl -fSL -R -J https://gitlab.com/OpenMW/openmw-deps/-/raw/main/macos/openmw-deps-20210716.zip -o ~/openmw-deps.zip
|
||||
unzip -o ~/openmw-deps.zip -d /private/tmp/openmw-deps > /dev/null
|
||||
|
||||
# additional libraries
|
||||
|
@ -25,6 +25,5 @@ cmake \
|
||||
-D BUILD_BSATOOL=TRUE \
|
||||
-D BUILD_ESSIMPORTER=TRUE \
|
||||
-D BUILD_NIFTEST=TRUE \
|
||||
-D USE_LUAJIT=FALSE \
|
||||
-G"Unix Makefiles" \
|
||||
..
|
||||
|
@ -678,7 +678,7 @@ if (WIN32)
|
||||
if (BUILD_OPENMW)
|
||||
# \bigobj is required:
|
||||
# 1) for OPENMW_UNITY_BUILD;
|
||||
# 2) to compile lua binginds, because sol3 is heavily templated.
|
||||
# 2) to compile lua bindings, because sol3 is heavily templated.
|
||||
set_target_properties(openmw PROPERTIES COMPILE_FLAGS "${WARNINGS} ${MT_BUILD} /bigobj")
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user