File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -61,8 +61,11 @@ function(PINOCCHIO_PYTHON_BINDINGS_SPECIFIC_TYPE scalar_name)
61
61
# * -Wconversion as the BOOST_PYTHON_FUNCTION_OVERLOADS implicitly converts.
62
62
# * -Wcomment as latex equations have multi-line comments.
63
63
# * -Wself-assign-overloaded as bp::self operations trigger this (Clang only).
64
+ # * -Xclang=-fno-pch-timestamp to allow ccache to use pch
65
+ # (https://ccache.dev/manual/latest.html#_precompiled_headers).
64
66
cxx_flags_by_compiler_frontend (
65
- GNU -Wno-conversion -Wno-comment -Wno-self-assign-overloaded
67
+ GNU -Wno-conversion -Wno-comment -Wno-self-assign-overloaded -Xclang=-fno-pch-timestamp
68
+ MSVC -Xclang=-fno-pch-timestamp
66
69
OUTPUT PRIVATE_OPTIONS
67
70
FILTER )
68
71
target_compile_options (${PYTHON_LIB_NAME} PRIVATE ${PRIVATE_OPTIONS} )
You can’t perform that action at this time.
0 commit comments