CMake: Fix non-PCH build.
This commit is contained in:
1 parent
17f7b7eed2
commit
c6efc0acfa
1 file changed
+4
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user