mirror of https://github.com/axmolengine/axmol.git
Update CMakeLists.txt
Extend the include directories to prevent compilation errors on Windows
This commit is contained in:
parent
0030340542
commit
3269df546c
|
@ -111,8 +111,16 @@ include_directories(
|
||||||
/usr/local/include/GLFW
|
/usr/local/include/GLFW
|
||||||
/usr/include/GLFW
|
/usr/include/GLFW
|
||||||
${COCOS2D_ROOT}/cocos
|
${COCOS2D_ROOT}/cocos
|
||||||
|
${COCOS2D_ROOT}/cocos/platform
|
||||||
|
${COCOS2D_ROOT}/cocos/audio/include/
|
||||||
Classes
|
Classes
|
||||||
)
|
)
|
||||||
|
if ( WIN32 )
|
||||||
|
include_directories(
|
||||||
|
${COCOS2D_ROOT}/external/glfw3/include/win32
|
||||||
|
${COCOS2D_ROOT}/external/win32-specific/gles/include/OGLES
|
||||||
|
)
|
||||||
|
endif( WIN32 )
|
||||||
|
|
||||||
set(GAME_SRC
|
set(GAME_SRC
|
||||||
Classes/AppDelegate.cpp
|
Classes/AppDelegate.cpp
|
||||||
|
|
Loading…
Reference in New Issue