mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-08-26 12:51:54 +00:00
Include dir for precompiled headers with gcc
This commit is contained in:
parent
c36a810bcb
commit
4b2bd6e18f
@ -188,7 +188,7 @@ else()
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (WITH_PCH)
|
if (WITH_PCH)
|
||||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
|
include_directories(${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…
x
Reference in New Issue
Block a user