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:
minggo 2014-11-27 10:21:51 +08:00
commit 42e1ad4294
1 changed files with 1 additions and 1 deletions

View File

@ -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})