From 4e6db307e42ce370dc32c568e05492e9fff35c24 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Mon, 23 Mar 2020 22:48:29 +0100 Subject: [PATCH] appveyor: configure for Release with Debug Info We build the library as debug with AppVeyor and package it this way, which is unfortunate, because on Windows it's linked against debug variants of the C runtime. Fix this by build RelWithDebInfo instead Fixes #1128. --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index f48486b03..3dadf24a4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -39,7 +39,7 @@ before_build: - cd build build_script: - - cmake -G %GENERATOR% -DSTATIC=ON -DSHARED=ON -DBUILD_EXAMPLES=%examples% -DBUILD_GAMES=%examples% -DINCLUDE_EVERYTHING=ON .. + - cmake -G %GENERATOR% -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSTATIC=ON -DSHARED=ON -DBUILD_EXAMPLES=%examples% -DBUILD_GAMES=%examples% -DINCLUDE_EVERYTHING=ON .. - cmake --build . --target install after_build: