Add option to turn off switching into executable dir on startup
This commit is contained in:
parent
cc7218c19d
commit
3bcf995832
3 changed files with 12 additions and 1 deletions
|
@ -5,6 +5,7 @@ Project(mkxp)
|
|||
|
||||
option(RGSS2 "Enable RGSS2" OFF)
|
||||
option(MIDI "Enable midi support" ON)
|
||||
option(WORKDIR_CURRENT "Keep current directory on startup" OFF)
|
||||
option(FORCE32 "Force 32bit compile on 64bit OS" OFF)
|
||||
set(BINDING "MRI" CACHE STRING "The Binding Type (MRI, MRUBY, NULL)")
|
||||
set(EXTERNAL_LIB_PATH "" CACHE PATH "External precompiled lib prefix")
|
||||
|
@ -19,6 +20,12 @@ IF("${CMAKE_SYSTEM}" MATCHES "Linux")
|
|||
SET(LINUX ON)
|
||||
ENDIF()
|
||||
|
||||
IF(WORKDIR_CURRENT)
|
||||
list(APPEND DEFINES
|
||||
WORKDIR_CURRENT
|
||||
)
|
||||
ENDIF()
|
||||
|
||||
IF(FORCE32)
|
||||
if(APPLE)
|
||||
SET(CMAKE_OSX_ARCHITECTURES "i386")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue