Merge branch '4.3.4' into '4.3.4'

CMake: Fix non-PCH build.

It works!™

Actually, I'm not a hundred percent sure. I know it fixes the errors about boost include files not found. PC overheats quite a bit, so can't try a full compile right now. Sorry.

See merge request !16
This commit is contained in:
Aokromes
2016-06-09 13:40:31 +00:00

View File

@@ -12,6 +12,10 @@
# This to stop a few silly crashes that could have been avoided IF people
# weren't doing some -O3 psychooptimizations etc.
include_directories(
${Boost_INCLUDE_DIR}
)
if(CMAKE_COMPILER_IS_GNUCXX AND NOT MINGW)
add_definitions(-fno-delete-null-pointer-checks)
endif()