Commit b9bfa247 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

PKG: JIRA:976 include External_package.cmake for osx

parent e40acf0a
......@@ -64,7 +64,7 @@ file(WRITE "${CMAKE_BINARY_DIR}/PACKAGE-OTB/src/PACKAGE-OTB/CMakeLists.txt"
COMMAND ${CMAKE_COMMAND}
"${CMAKE_BINARY_DIR}/PACKAGE-OTB/src/PACKAGE-OTB"
WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/PACKAGE-OTB/build"
DEPENDS PACKAGE-TOOLS)
DEPENDS PACKAGE_TOOLS)
add_custom_target(PACKAGE-OTB-build
COMMAND ${CMAKE_COMMAND}
......
......@@ -249,11 +249,11 @@ else()
endif()
#check compiler is gnu?
if(UNIX AND NOT APPLE)
if(UNIX)
if(GENERATE_XDK)
include(GenerateXDK)
endif()
include(External_package)
endif(UNIX AND NOT APPLE)
endif(UNIX)
Markdown is supported
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