1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-23 02:42:39 +01:00

move include_directories and use it on all platforms

This commit is contained in:
Marco Schmidt 2016-05-21 19:09:41 +02:00
parent ab9d61643e
commit 8bccbeeaa7

View File

@ -48,19 +48,19 @@ ENDIF()
IF(${ENABLE_SCRIPT_DEBUG})
add_definitions(-DSCM_DEBUG_INSTRUCTIONS)
ENDIF()
# Find dependancies
IF(APPLE)
set(OPENRW_PLATFORM_LIBS iconv)
ENDIF()
find_package(OpenGL REQUIRED)
find_package(Bullet REQUIRED)
find_package(SFML 2 COMPONENTS system window audio graphics network REQUIRED)
find_package(MAD REQUIRED)
find_package(GLM REQUIRED)
# Find dependancies
IF(APPLE)
set(OPENRW_PLATFORM_LIBS iconv)
include_directories("${GLM_INCLUDE_DIRS}")
ENDIF()
include_directories("${GLM_INCLUDE_DIRS}")
# External-internal dependencies