зеркало из https://github.com/microsoft/cocos2d-x.git
issue #3823: Removes glfw, curl include and library path. They are installed to system.
This commit is contained in:
Родитель
3250604478
Коммит
e97dd396ba
|
@ -170,7 +170,7 @@ if(WIN32)
|
|||
${CMAKE_CURRENT_SOURCE_DIR}/external/${PLATFORM_FOLDER}-specific/gles/include/OGLES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/external/${PLATFORM_FOLDER}-specific/icon/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/external/${PLATFORM_FOLDER}-specific/zlib/include
|
||||
external/curl/include/${PLATFORM_FOLDER}
|
||||
external/curl/include/${PLATFORM_FOLDER}
|
||||
)
|
||||
elseif(APPLE)
|
||||
include_directories(
|
||||
|
@ -178,8 +178,9 @@ elseif(APPLE)
|
|||
)
|
||||
else()
|
||||
include_directories(
|
||||
/usr/include
|
||||
/usr/local/include/GLFW
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/external/${PLATFORM_FOLDER}-specific/fmod/include/${ARCH_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/external/curl/include/${PLATFORM_FOLDER}/${ARCH_DIR}
|
||||
)
|
||||
endif()
|
||||
|
||||
|
@ -193,8 +194,8 @@ if(WIN32)
|
|||
${CMAKE_CURRENT_SOURCE_DIR}/external/png/prebuilt/${PLATFORM_FOLDER}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/external/freetype2/prebuilt/${PLATFORM_FOLDER}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/external/curl/prebuilt/${PLATFORM_FOLDER}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/external/${PLATFORM_FOLDER}-specific/icon/prebuilt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/external/${PLATFORM_FOLDER}-specific/zlib/prebuilt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/external/${PLATFORM_FOLDER}-specific/icon/prebuilt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/external/${PLATFORM_FOLDER}-specific/zlib/prebuilt
|
||||
)
|
||||
endif()
|
||||
|
||||
|
@ -209,7 +210,6 @@ else()
|
|||
${CMAKE_CURRENT_SOURCE_DIR}/external/webp/prebuilt/${PLATFORM_FOLDER}/${ARCH_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/external/png/prebuilt/${PLATFORM_FOLDER}/${ARCH_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/external/freetype2/prebuilt/${PLATFORM_FOLDER}/${ARCH_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/external/curl/prebuilt/${PLATFORM_FOLDER}/${ARCH_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/external/${PLATFORM_FOLDER}-specific/fmod/prebuilt/${ARCH_DIR}
|
||||
)
|
||||
|
||||
|
|
|
@ -48,6 +48,7 @@ set(GAME_SRC
|
|||
set(COCOS2D_ROOT ${CMAKE_SOURCE_DIR}/cocos2d)
|
||||
|
||||
include_directories(
|
||||
/usr/local/include/GLFW
|
||||
${COCOS2D_ROOT}
|
||||
${COCOS2D_ROOT}/cocos
|
||||
${COCOS2D_ROOT}/cocos/audio/include
|
||||
|
@ -66,8 +67,6 @@ include_directories(
|
|||
${COCOS2D_ROOT}/external/jpeg/include/linux
|
||||
${COCOS2D_ROOT}/external/tiff/include/linux
|
||||
${COCOS2D_ROOT}/external/webp/include/linux
|
||||
${COCOS2D_ROOT}/external/glfw3/include/linux
|
||||
${COCOS2D_ROOT}/external/curl/include/linux/${ARCH_DIR}
|
||||
${COCOS2D_ROOT}/external/tinyxml2
|
||||
${COCOS2D_ROOT}/external/unzip
|
||||
${COCOS2D_ROOT}/external/chipmunk/include/chipmunk
|
||||
|
@ -81,7 +80,6 @@ link_directories(
|
|||
${COCOS2D_ROOT}/external/tiff/prebuilt/linux/${ARCH_DIR}
|
||||
${COCOS2D_ROOT}/external/webp/prebuilt/linux/${ARCH_DIR}
|
||||
${COCOS2D_ROOT}/external/freetype2/prebuilt/linux/${ARCH_DIR}
|
||||
${COCOS2D_ROOT}/external/curl/prebuilt/linux/${ARCH_DIR}
|
||||
${COCOS2D_ROOT}/external/linux-specific/fmod/prebuilt/${ARCH_DIR}
|
||||
)
|
||||
|
||||
|
|
|
@ -47,6 +47,7 @@ set(GAME_SRC
|
|||
set(COCOS2D_ROOT ${CMAKE_SOURCE_DIR}/cocos2d)
|
||||
|
||||
include_directories(
|
||||
/usr/local/include/GLFW
|
||||
Classes
|
||||
${COCOS2D_ROOT}/cocos/scripting/lua/bindings
|
||||
${COCOS2D_ROOT}/external/lua/lua
|
||||
|
@ -69,8 +70,6 @@ include_directories(
|
|||
${COCOS2D_ROOT}/external/jpeg/include/linux
|
||||
${COCOS2D_ROOT}/external/tiff/include/linux
|
||||
${COCOS2D_ROOT}/external/webp/include/linux
|
||||
${COCOS2D_ROOT}/external/glfw3/include/linux
|
||||
${COCOS2D_ROOT}/external/curl/include/linux/${ARCH_DIR}
|
||||
${COCOS2D_ROOT}/external/tinyxml2
|
||||
${COCOS2D_ROOT}/external/unzip
|
||||
${COCOS2D_ROOT}/external/chipmunk/include/chipmunk
|
||||
|
@ -84,8 +83,6 @@ link_directories(
|
|||
${COCOS2D_ROOT}/external/tiff/prebuilt/linux/${ARCH_DIR}
|
||||
${COCOS2D_ROOT}/external/webp/prebuilt/linux/${ARCH_DIR}
|
||||
${COCOS2D_ROOT}/external/freetype2/prebuilt/linux/${ARCH_DIR}
|
||||
${COCOS2D_ROOT}/external/curl/prebuilt/linux/${ARCH_DIR}
|
||||
${COCOS2D_ROOT}/external/linux-specific/fmod/prebuilt/${ARCH_DIR}
|
||||
)
|
||||
|
||||
# kazmath
|
||||
|
|
Загрузка…
Ссылка в новой задаче