]> granicus.if.org Git - curl/commitdiff
AppVeyor: set custom install prefix
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Thu, 4 Oct 2018 18:22:39 +0000 (20:22 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Fri, 5 Oct 2018 07:31:20 +0000 (09:31 +0200)
CMake's default has spaces and in 32-bit mode parentheses, which result
in syntax errors in curl-config.

Closes https://github.com/curl/curl/pull/3100

appveyor.yml

index 0f520c9c4d30a59683cafa9868bf91e3c8f41ebc..f0f71190d16f3ebf80d2dce10cca66cdf183f65f 100644 (file)
@@ -46,7 +46,7 @@ environment:
         SHARED: OFF
 
 build_script:
-    - cmake . -G"%PRJ_GEN%" -DCMAKE_USE_OPENSSL=%OPENSSL% -DBUILD_SHARED_LIBS=%SHARED% -DBUILD_TESTING=%TESTING% -DCURL_WERROR=ON -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE="" -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG=""
+    - cmake . -G"%PRJ_GEN%" -DCMAKE_USE_OPENSSL=%OPENSSL% -DBUILD_SHARED_LIBS=%SHARED% -DBUILD_TESTING=%TESTING% -DCURL_WERROR=ON -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE="" -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG="" -DCMAKE_INSTALL_PREFIX="C:/CURL"
     - cmake --build . --config %PRJ_CFG% --clean-first
 
 test_script: