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

PKG: check for required variables. (support out of source build)

parent 9c45b253
...@@ -295,10 +295,6 @@ if(GENERATE_PACKAGE OR GENERATE_XDK) ...@@ -295,10 +295,6 @@ if(GENERATE_PACKAGE OR GENERATE_XDK)
set(MXE_TARGET_DIR "" CACHE PATH "path to mxe directory") set(MXE_TARGET_DIR "" CACHE PATH "path to mxe directory")
set(OTB_SOURCE_DIR "" CACHE PATH "path to otb source directory") set(OTB_SOURCE_DIR "" CACHE PATH "path to otb source directory")
if(NOT MXE_TARGET_DIR)
message(FATAL_ERROR "MXE_TARGET_DIR is missing")
endif()
if(NOT OTB_SOURCE_DIR) if(NOT OTB_SOURCE_DIR)
message(FATAL_ERROR "OTB_SOURCE_DIR is missing") message(FATAL_ERROR "OTB_SOURCE_DIR is missing")
endif() endif()
......
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