Fix luajit on Mac OS X
This commit is contained in:
parent
a145ad282b
commit
32df317163
|
@ -207,6 +207,10 @@ if(LUAJIT)
|
|||
find_package(LuaJIT REQUIRED)
|
||||
set(LUA_INCLUDE_DIR ${LUAJIT_INCLUDE_DIR})
|
||||
set(LUA_LIBRARY ${LUAJIT_LIBRARY})
|
||||
|
||||
if(APPLE)
|
||||
set(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -pagezero_size 10000 -image_base 100000000")
|
||||
endif()
|
||||
else()
|
||||
find_package(Lua REQUIRED)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue