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

SuperBuild: qt4 check variable exists before calling TO_NATIVE_PATH

parent 9e3a6135
......@@ -43,10 +43,15 @@ else()
set(FT_INCLUDE ${_SB_FREETYPE_INCLUDE_DIRS})
endif()
file(TO_NATIVE_PATH ${FT_INCLUDE} FT_INCLUDE_NATIVE)
file(TO_NATIVE_PATH ${SB_INSTALL_PREFIX} QT4_INSTALL_PREFIX_NATIVE)
file(TO_NATIVE_PATH ${SB_INSTALL_PREFIX}/include QT4_INCLUDE_PREFIX_NATIVE)
file(TO_NATIVE_PATH ${SB_INSTALL_PREFIX}/lib QT4_LIB_PREFIX_NATIVE)
if(FT_INCLUDE)
file(TO_NATIVE_PATH ${FT_INCLUDE} FT_INCLUDE_NATIVE)
endif()
if(SB_INSTALL_PREFIX)
file(TO_NATIVE_PATH ${SB_INSTALL_PREFIX} QT4_INSTALL_PREFIX_NATIVE)
file(TO_NATIVE_PATH ${SB_INSTALL_PREFIX}/include QT4_INCLUDE_PREFIX_NATIVE)
file(TO_NATIVE_PATH ${SB_INSTALL_PREFIX}/lib QT4_LIB_PREFIX_NATIVE)
endif()
if(WIN32)
set(QT4_BIN_EXT ".exe")
......
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