Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make gdal to work without DEBUG builds in vcpkg #657

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions jenkins-scripts/vcpkg-bootstrap.bat
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ move %dfcln_portfile%.new %dfcln_portfile% || goto :error
:: replace it to lowercase
set ogre_portfile=%VCPKG_DIR%\ports\ogre\portfile.cmake
powershell -Command "(Get-Content %ogre_portfile%) -replace 'Release', 'release' | Out-File -encoding ASCII %ogre_portfile%" || goto :error
:: 4. Disable DEBUG libraries in gdal
set gdal_cmakefile=%VCPKG_DIR%\ports\gdal\vcpkg-cmake-wrapper.cmake
powershell -Command "(Get-Content %gdal_cmakefile%) -replace 'find_library\(GDAL_LIBRARY_DEBUG', '#find_library(GDAL_LIBRARY_DEBUG' | Out-File -encoding ASCII %gdal_cmakefile%" || goto :error
echo # END SECTION

echo "Using SNAPSHOT: bootstrap vcpkg executable"
Expand Down