Fix a strict compilation error with cmake.

I'm not entirely sure about this commit so if things break, try to
revert this. It fixes compilation on Ivanovic's system.
This commit is contained in:
Mark de Wever 2009-05-24 13:49:30 +00:00
parent 67c45f2013
commit d92530c8cc

View File

@ -1,5 +1,10 @@
## some includes ##
if(MSVC)
# This seems to break on some Linux systems in combination with strict
# compilation, so disabled for now. The problem occurred on Gentoo with
# boost 1.37. Debian with boost 1.34, 1.35 and 1.38 works properly.
include_directories( ${Boost_INCLUDE_DIR} )
endif(MSVC)
include_directories( ${LUA_INCLUDE_DIR} )
include_directories( ${SDL_INCLUDE_DIR} )
include_directories( ${PANGOCAIRO_INCLUDE_DIRS} )