Commit 317a1a6a authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

SuperBuild: guard a variable with native install prefix

parent 2c7986ec
......@@ -70,6 +70,8 @@ endif()
set(SB_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
file(TO_NATIVE_PATH "${SB_INSTALL_PREFIX}" SB_INSTALL_PREFIX_NATIVE)
# Check if CMAKE_INSTALL_PREFIX is set by default
if(WIN32)
if(CMAKE_INSTALL_PREFIX STREQUAL "C:/Program Files (x86)/OTB-SuperBuild"
......
Supports Markdown
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