diff --git a/CMakeLists.txt b/CMakeLists.txt index d810f411..9e90a79d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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