fix compile on ubuntu.

This commit is contained in:
joewanchen 2014-09-21 23:49:43 +08:00
parent 729910d77e
commit 3f2895beab
2 changed files with 2 additions and 1 deletions

View File

@ -611,6 +611,6 @@ set_target_properties(cocos2d
PROPERTIES
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
VERSION ${COCOS2D_X_VERSION}
VERSION "${COCOS2D_X_VERSION}"
)

View File

@ -143,6 +143,7 @@ link_directories(
${COCOS2D_ROOT}/external/websockets/prebuilt/linux/${ARCH_DIR}
${COCOS2D_ROOT}/external/spidermonkey/prebuilt/linux/${ARCH_DIR}
${COCOS2D_ROOT}/external/linux-specific/fmod/prebuilt/${ARCH_DIR}
${COCOS2D_ROOT}/external/chipmunk/prebuilt/linux/${ARCH_DIR}
)
endif()