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

PKG: fix cmake invalid escape sequence and newline

parent c22aba5a
......@@ -101,17 +101,11 @@ function(install_common outdir)
endforeach()
install(CODE "file(WRITE \"${CMAKE_INSTALL_PREFIX}/${PKG_PREFIX_DIR}/otbenv.cmd\"
\"set CURRENT_SCRIPT_DIR=%~dp0
set PATH=%PATH%;%CURRENT_SCRIPT_DIR%\\bin
set GDAL_DATA=%CURRENT_SCRIPT_DIR%\\share\\gdal
\")" )
\"set CURRENT_SCRIPT_DIR=%~dp0\nset PATH=%PATH%;%CURRENT_SCRIPT_DIR%\\\\bin\nset GDAL_DATA=%CURRENT_SCRIPT_DIR%\\\\share\\\\gdal\n\")" )
####################### create and install qt.conf #######################
install(CODE "file(WRITE \"${PKG_QTCONF_DIR}/qt.conf\"
\"[Paths]
Translations=../lib/qt4/translations
Plugins=../lib/qt4/plugins
\")" )
\"[Paths]\nTranslations=../lib/qt4/translations\nPlugins=../lib/qt4/plugins\n\")" )
####################### install sqldriver plugin ########################
install(FILES ${QT_PLUGINS_DIR}/sqldrivers/${PKG_QTSQLITE_FILENAME}
......
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