Improve handling of Cairo build configuration

This commit is contained in:
Joshua Granick
2015-05-06 19:45:16 -07:00
parent 20d0c19e3a
commit 78859413b3
3 changed files with 7 additions and 6 deletions

View File

@@ -42,11 +42,12 @@
<section if="LIME_CAIRO">
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/cairo/include" />
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/cairo/include/configs/default/" unless="windows || mac || linux"/>
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/cairo/include/configs/linux/" if="linux"/>
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/cairo/include/configs/windows/" if="windows"/>
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/cairo/include/configs/mac/" if="mac"/>
<compilerflag value="-DHAVE_CONFIG_H" />
<compilerflag value="-DCAIRO_WIN32_STATIC_BUILD" if="windows" />
<compilerflag value="-DCAIRO_HAS_PTHREAD" unless="windows" />
<compilerflag value="-DHAVE_STDINT_H" unless="windows" />
<compilerflag value="-DHAVE_UINT64_T" unless="windows" />
<compilerflag value="-DHAVE_PTHREADS" unless="windows" />
<file name="src/graphics/cairo/CairoBindings.cpp" />