Skip to content
Permalink
Browse files

Replace backslashes in APPVEYOR_BUILD_FOLDER with forwardslashes

Otherwise get the following error:

CMake Warning (dev) at CMakeLists.txt:61 (target_link_libraries):
  Syntax error in cmake code at
    C:/projects/mapserver/CMakeLists.txt:61
  when parsing string
    C:\projects\mapserver\sdk\release-1911-x64\lib\libxml2.lib
  Invalid escape sequence \p
  Policy CMP0010 is not set: Bad variable reference syntax is an error.  Run "cmake --help-policy CMP0010
  
  Invalid escape sequence \p
  • Loading branch information...
geographika committed Jun 22, 2018
1 parent 2662ff7 commit e574ee64be7ea2e13692e3544b6388085e40ea6c
Showing with 1 addition and 0 deletions.
  1. +1 −0 appveyor.yml
@@ -12,6 +12,7 @@ environment:
shallow_clone: true

build_script:
- set "APPVEYOR_BUILD_FOLDER=%APPVEYOR_BUILD_FOLDER:\=/%"
- if "%platform%" == "x64" SET VS_FULL=%VS_VERSION% Win64
- if "%platform%" == "x86" SET VS_FULL=%VS_VERSION%
- if "%platform%" == "x86" SET SDK=release-1911

0 comments on commit e574ee6

Please sign in to comment.
You can’t perform that action at this time.