Browse Source

Merge pull request #358 from AMDmi3/local-include-dirs-before

Always place local include directories before all others
pull/361/head
orignal 9 years ago
parent
commit
16920a89f3
  1. 2
      build/CMakeLists.txt

2
build/CMakeLists.txt

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

Loading…
Cancel
Save