mirror of https://github.com/axmolengine/axmol.git
Merge pull request #9250 from vovkasm/cmake-fix-modules-include-path-2
Fix modules include path to be relative project directory.
This commit is contained in:
commit
42e1ad4294
|
@ -34,7 +34,7 @@ project (Cocos2d-X)
|
|||
# The version number
|
||||
set(COCOS2D_X_VERSION 3.3.0-rc1)
|
||||
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake/Modules/")
|
||||
include(CocosBuildHelpers)
|
||||
|
||||
message(${BUILDING_STRING})
|
||||
|
|
Loading…
Reference in New Issue