Update CMakeLists.txt

Extend the include directories to prevent compilation errors on Windows
This commit is contained in:
Furkan Üzümcü 2015-06-07 20:34:15 +03:00
parent 0030340542
commit 3269df546c
1 changed files with 8 additions and 0 deletions

View File

@ -111,8 +111,16 @@ include_directories(
/usr/local/include/GLFW
/usr/include/GLFW
${COCOS2D_ROOT}/cocos
${COCOS2D_ROOT}/cocos/platform
${COCOS2D_ROOT}/cocos/audio/include/
Classes
)
if ( WIN32 )
include_directories(
${COCOS2D_ROOT}/external/glfw3/include/win32
${COCOS2D_ROOT}/external/win32-specific/gles/include/OGLES
)
endif( WIN32 )
set(GAME_SRC
Classes/AppDelegate.cpp