|
|
@ -8,7 +8,7 @@
|
|
|
|
# EXTERNAL_FOUND - True if the external libraries are available
|
|
|
|
# EXTERNAL_FOUND - True if the external libraries are available
|
|
|
|
|
|
|
|
|
|
|
|
SET(EXTERNAL_TEMP_PATH ${CMAKE_CURRENT_SOURCE_DIR}/external ${CMAKE_CURRENT_SOURCE_DIR}/../external ${CMAKE_CURRENT_SOURCE_DIR}/3rdParty ${CMAKE_CURRENT_SOURCE_DIR}/../3rdParty ${EXTERNAL_PATH})
|
|
|
|
SET(EXTERNAL_TEMP_PATH ${CMAKE_CURRENT_SOURCE_DIR}/external ${CMAKE_CURRENT_SOURCE_DIR}/../external ${CMAKE_CURRENT_SOURCE_DIR}/3rdParty ${CMAKE_CURRENT_SOURCE_DIR}/../3rdParty ${EXTERNAL_PATH})
|
|
|
|
SET(EXTERNAL_TEMP_FILE "include/zlib.h")
|
|
|
|
SET(EXTERNAL_TEMP_FILE "include/wwwconf.h")
|
|
|
|
SET(EXTERNAL_NAME "external")
|
|
|
|
SET(EXTERNAL_NAME "external")
|
|
|
|
|
|
|
|
|
|
|
|
# If using STLport preprend external_stlport
|
|
|
|
# If using STLport preprend external_stlport
|
|
|
@ -36,18 +36,18 @@ IF(EXTERNAL_PATH)
|
|
|
|
SET(EXTERNAL_INCLUDE_PATH "${EXTERNAL_PATH}/include")
|
|
|
|
SET(EXTERNAL_INCLUDE_PATH "${EXTERNAL_PATH}/include")
|
|
|
|
|
|
|
|
|
|
|
|
# Using 32 or 64 bits binaries
|
|
|
|
# Using 32 or 64 bits binaries
|
|
|
|
IF(TARGET_X64)
|
|
|
|
IF(TARGET_X64 AND WIN32)
|
|
|
|
SET(EXTERNAL_BINARY_PATH "${EXTERNAL_PATH}/bin64")
|
|
|
|
SET(EXTERNAL_BINARY_PATH "${EXTERNAL_PATH}/bin64")
|
|
|
|
ELSE(TARGET_X64)
|
|
|
|
ELSE(TARGET_X64 AND WIN32)
|
|
|
|
SET(EXTERNAL_BINARY_PATH "${EXTERNAL_PATH}/bin")
|
|
|
|
SET(EXTERNAL_BINARY_PATH "${EXTERNAL_PATH}/bin")
|
|
|
|
ENDIF(TARGET_X64)
|
|
|
|
ENDIF(TARGET_X64 AND WIN32)
|
|
|
|
|
|
|
|
|
|
|
|
# Using 32 or 64 bits libraries
|
|
|
|
# Using 32 or 64 bits libraries
|
|
|
|
IF(TARGET_X64)
|
|
|
|
IF(TARGET_X64 AND WIN32)
|
|
|
|
SET(EXTERNAL_LIBRARY_PATH "${EXTERNAL_PATH}/lib64")
|
|
|
|
SET(EXTERNAL_LIBRARY_PATH "${EXTERNAL_PATH}/lib64")
|
|
|
|
ELSE(TARGET_X64)
|
|
|
|
ELSE(TARGET_X64 AND WIN32)
|
|
|
|
SET(EXTERNAL_LIBRARY_PATH "${EXTERNAL_PATH}/lib")
|
|
|
|
SET(EXTERNAL_LIBRARY_PATH "${EXTERNAL_PATH}/lib")
|
|
|
|
ENDIF(TARGET_X64)
|
|
|
|
ENDIF(TARGET_X64 AND WIN32)
|
|
|
|
|
|
|
|
|
|
|
|
SET(CMAKE_INCLUDE_PATH "${EXTERNAL_INCLUDE_PATH};${CMAKE_INCLUDE_PATH}")
|
|
|
|
SET(CMAKE_INCLUDE_PATH "${EXTERNAL_INCLUDE_PATH};${CMAKE_INCLUDE_PATH}")
|
|
|
|
# Stupid hack for FindOpenAL.cmake
|
|
|
|
# Stupid hack for FindOpenAL.cmake
|
|
|
|