Browse Source

Fix Android build with LuaJIT enabled on Mac OS X host system.
Close #670.

Yao Wei Tjong 姚伟忠 11 years ago
parent
commit
904aedef93
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/ThirdParty/toluapp/src/bin/CMakeLists.txt

+ 1 - 1
Source/ThirdParty/toluapp/src/bin/CMakeLists.txt

@@ -71,7 +71,7 @@ set (INCLUDE_DIRS ../../include ../../../../ThirdParty/Lua${JIT}/src)
 set_output_directories (${CMAKE_BINARY_DIR}/bin/tool RUNTIME PDB)
 
 # Setup target
-if (URHO3D_LUAJIT AND URHO3D_64BIT AND APPLE AND NOT IOS)
+if (APPLE)
     setup_macosx_linker_flags (CMAKE_EXE_LINKER_FLAGS)
 endif ()
 setup_executable (NODEPS)