Commit 88fd10f8 authored by Rashad Kanavath's avatar Rashad Kanavath

PKG: use package build from msvc and not mingw

parent ba6da81e
......@@ -396,16 +396,17 @@ configure_file(
add_custom_target(uninstall
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_BINARY_DIR}/cmake_uninstall.cmake)
#-----------------------------------------------------------------------------
# Packaging options for Windows packages
if(WIN32 OR CMAKE_CROSSCOMPILING)
option(GENERATE_PACKAGE "Generate OTB package" OFF)
option(GENERATE_XDK "Generate XDK for OTB development" OFF)
if(GENERATE_PACKAGE OR GENERATE_XDK)
set(MXE_TARGET_DIR "" CACHE PATH "path to mxe directory")
add_subdirectory(${OTB_SOURCE_DIR}/SuperBuild/Packaging ${CMAKE_BINARY_DIR}/Packaging)
endif() # (GENERATE_PACKAGE OR GENERATE_XDK)
endif() # (WIN32 OR CMAKE_CROSSCOMPILING)
# #-----------------------------------------------------------------------------
# # Packaging options for Windows packages
# if(WIN32 OR CMAKE_CROSSCOMPILING)
# option(GENERATE_PACKAGE "Generate OTB package" OFF)
# option(GENERATE_XDK "Generate XDK for OTB development" OFF)
# if(GENERATE_PACKAGE OR GENERATE_XDK)
# set(MXE_TARGET_DIR "" CACHE PATH "path to mxe directory")
# set(PACKAGE_OTB_SRC_DIR ${OTB_SOURCE_DIR})
# add_subdirectory(${OTB_SOURCE_DIR}/SuperBuild/Packaging ${CMAKE_BINARY_DIR}/Packaging)
# endif() # (GENERATE_PACKAGE OR GENERATE_XDK)
# endif() # (WIN32 OR CMAKE_CROSSCOMPILING)
#-----------------------------------------------------------------------------
#macro to put a fixed space between key, value in summary
......
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