Commit 91f99230 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

BUG: fix mantis 1193

parent 94016f4e
...@@ -32,6 +32,11 @@ include(CMakeDependentOption) ...@@ -32,6 +32,11 @@ include(CMakeDependentOption)
# use ExternalProject # use ExternalProject
include(ExternalProject) include(ExternalProject)
#mantis: 1193
if(APPLE)
set(CMAKE_SYSTEM_FRAMEWORK_PATH "" CACHE PATH "" FORCE)
endif()
if( CMAKE_HOST_WIN32 ) if( CMAKE_HOST_WIN32 )
string( LENGTH "${CMAKE_CURRENT_SOURCE_DIR}" n ) string( LENGTH "${CMAKE_CURRENT_SOURCE_DIR}" n )
......
...@@ -3,5 +3,11 @@ cmake_minimum_required(VERSION 2.8.8) ...@@ -3,5 +3,11 @@ cmake_minimum_required(VERSION 2.8.8)
project(OTB-OSSIM) project(OTB-OSSIM)
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/ossim_package_support/cmake/CMakeModules") set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/ossim_package_support/cmake/CMakeModules")
#mantis: 1193
#RK: do we need to do this for other dependencies?
if(APPLE)
set(CMAKE_SYSTEM_FRAMEWORK_PATH "" CACHE PATH "" FORCE)
endif()
message(STATUS "[OTB SuperBuild] CMAKE_MODULE_PATH=${CMAKE_MODULE_PATH}") message(STATUS "[OTB SuperBuild] CMAKE_MODULE_PATH=${CMAKE_MODULE_PATH}")
add_subdirectory(ossim) add_subdirectory(ossim)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment