Commit 08c9d858 authored by Julien Malik's avatar Julien Malik

BUG: force try_compile to use Release configuration, otherwise CRT issues appear on Windows

parent 2630d03d
......@@ -207,6 +207,8 @@ INCLUDE(CheckCXXSourceRuns)
#-----------------------------------------------------------------------------
# External libraries
SET(CMAKE_TRY_COMPILE_CONFIGURATION Release)
FIND_PACKAGE(OSGeo4W)
# Put GDAL first, since on Windows, include dirs for other libs (curl, expat, mapnik) contain gdal 1.5 includes
INCLUDE(ImportGdal)
......
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