mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 20:12:25 +00:00
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:
parent
67c45f2013
commit
d92530c8cc
@ -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} )
|
||||
|
Loading…
x
Reference in New Issue
Block a user