Commit 4e9d7774 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

BUG: cmake variable CROSS_COMPILING -> CMAKE_CROSSCOMPILING

parent 8609c04e
......@@ -123,7 +123,7 @@ function(install_common include_mvd)
# install(CODE "message(\"CMake/PackageHelper.cmake:install_common(${outdir})\n${vars}\n\")")
##################### install environment source ##########################
if(WIN32 OR CROSS_COMPILING)
if(WIN32 OR CMAKE_CROSSCOMPILING)
set(ENV_SOURCE_FILES
"${PACKAGE_SUPPORT_FILES_DIR}/otbenv.cmd"
"${PACKAGE_SUPPORT_FILES_DIR}/otbenv.profile"
......
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