mirror of https://github.com/axmolengine/axmol.git
add box2d tinyzml back
This commit is contained in:
parent
99dddc1247
commit
db2559ef67
|
@ -122,13 +122,6 @@ else()
|
||||||
message( FATAL_ERROR "Unsupported architecture, CMake will exit" )
|
message( FATAL_ERROR "Unsupported architecture, CMake will exit" )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(LINUX)
|
|
||||||
set(PLATFORM_INCLUDE_DIR
|
|
||||||
/usr/include/
|
|
||||||
/usr/local/include/GLFW
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
${PLATFORM_INCLUDE_DIR}
|
${PLATFORM_INCLUDE_DIR}
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/cocos
|
${CMAKE_CURRENT_SOURCE_DIR}/cocos
|
||||||
|
|
|
@ -43,7 +43,7 @@ FIND_PATH(GLFW3_INCLUDE_DIR glfw3.h
|
||||||
)
|
)
|
||||||
|
|
||||||
FIND_LIBRARY(GLFW3_LIBRARY
|
FIND_LIBRARY(GLFW3_LIBRARY
|
||||||
NAMES glfw3 libglfw3
|
NAMES glfw3 libglfw3 glfw
|
||||||
HINTS
|
HINTS
|
||||||
ENV GLFW3_DIR
|
ENV GLFW3_DIR
|
||||||
PATH_SUFFIXES lib
|
PATH_SUFFIXES lib
|
||||||
|
|
Loading…
Reference in New Issue