Skip to content
Snippets Groups Projects
Commit fc074bef authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

PKG: mxe: move variable to root CMakeLists.txt

parent f1a829fc
Branches
Tags
No related merge requests found
......@@ -23,16 +23,6 @@ if(NOT GENERATE_PACKAGE AND NOT GENERATE_XDK)
return()
endif()
#TODO: remove afer monteverdi is merged to OTB.
if(WIN32 OR CMAKE_CROSSCOMPILING)
set(MXE_TARGET_DIR "" CACHE PATH "path to mxe directory")
set(OTB_SOURCE_DIR "" CACHE PATH "path to otb source directory")
find_program(ZIP_EXECUTABLE zip)
if(NOT ZIP_EXECUTABLE)
message(FATAL_ERROR "Cannot find zip executable. Please add it to your path")
endif()
endif()
include(${CMAKE_CURRENT_SOURCE_DIR}/PMacros.cmake)
if(OUT_OF_SOURCE_BUILD)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment