Mercurial > hg > orthanc-stone
comparison Resources/CMake/CairoConfiguration.cmake @ 24:902e6c52e154
fix for msvc
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 23 Nov 2016 15:50:31 +0100 |
parents | 490347621f42 |
children | 22ab2d8566fa |
comparison
equal
deleted
inserted
replaced
23:a4a1e4033403 | 24:902e6c52e154 |
---|---|
211 else() | 211 else() |
212 message(FATAL_ERROR "Support your platform here") | 212 message(FATAL_ERROR "Support your platform here") |
213 | 213 |
214 endif() | 214 endif() |
215 | 215 |
216 | |
217 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") | |
218 # Explicitly request static building on Windows | |
219 add_definitions(-DCAIRO_WIN32_STATIC_BUILD=1) | |
220 endif() | |
221 | |
222 | |
216 set_property( | 223 set_property( |
217 SOURCE ${CAIRO_SOURCES} | 224 SOURCE ${CAIRO_SOURCES} |
218 PROPERTY COMPILE_DEFINITIONS "${CAIRO_DEFINITIONS}" | 225 PROPERTY COMPILE_DEFINITIONS "${CAIRO_DEFINITIONS}" |
219 ) | 226 ) |
220 | 227 |