diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt index 43d8348f..7b1314ea 100644 --- a/build/CMakeLists.txt +++ b/build/CMakeLists.txt @@ -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)