...
This commit is contained in:
parent
00c5481dd0
commit
fd88ba773a
|
@ -1,7 +1,7 @@
|
||||||
# CMAKE_CURRENT_LIST_DIR cmake 2.6 compatiblity
|
# CMAKE_CURRENT_LIST_DIR cmake 2.6 compatiblity
|
||||||
IF(NOT CMAKE_CURRENT_LIST_DIR)
|
IF(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 6)
|
||||||
GET_FILENAME_COMPONENT(CMAKE_CURRENT_LIST_DIR ${CMAKE_CURRENT_LIST_FILE} PATH)
|
GET_FILENAME_COMPONENT(CMAKE_CURRENT_LIST_DIR ${CMAKE_CURRENT_LIST_FILE} PATH)
|
||||||
ENDIF(NOT CMAKE_CURRENT_LIST_DIR)
|
ENDIF(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 6)
|
||||||
|
|
||||||
# add framework cmake modules
|
# add framework cmake modules
|
||||||
SET(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake;${CMAKE_MODULE_PATH}")
|
SET(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake;${CMAKE_MODULE_PATH}")
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# CMAKE_CURRENT_LIST_DIR cmake 2.6 compatiblity
|
# CMAKE_CURRENT_LIST_DIR cmake 2.6 compatiblity
|
||||||
IF(NOT CMAKE_CURRENT_LIST_DIR)
|
IF(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 6)
|
||||||
GET_FILENAME_COMPONENT(CMAKE_CURRENT_LIST_DIR ${CMAKE_CURRENT_LIST_FILE} PATH)
|
GET_FILENAME_COMPONENT(CMAKE_CURRENT_LIST_DIR ${CMAKE_CURRENT_LIST_FILE} PATH)
|
||||||
ENDIF(NOT CMAKE_CURRENT_LIST_DIR)
|
ENDIF(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 6)
|
||||||
|
|
||||||
# otclient options
|
# otclient options
|
||||||
OPTION(FORBIDDEN_FUNCTIONS "Enable forbidden lua functions" ON)
|
OPTION(FORBIDDEN_FUNCTIONS "Enable forbidden lua functions" ON)
|
||||||
|
|
Loading…
Reference in New Issue