Browse Source

Include dir for precompiled headers with gcc

pull/308/head
Mikhail Titov 9 years ago
parent
commit
4b2bd6e18f
  1. 2
      build/CMakeLists.txt

2
build/CMakeLists.txt

@ -188,7 +188,7 @@ else() @@ -188,7 +188,7 @@ else()
endif ()
if (WITH_PCH)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
include_directories(${CMAKE_BINARY_DIR})
add_library(stdafx STATIC "${CMAKE_SOURCE_DIR}/stdafx.cpp")
if(MSVC)
target_compile_options(stdafx PRIVATE /Ycstdafx.h /Zm155)

Loading…
Cancel
Save