Commit 84787461 authored by Roel Aaij's avatar Roel Aaij
Browse files

mark vectorclass headers as a system include

parent 25af80a1
......@@ -151,7 +151,7 @@ add_library(generate SHARED ${generate_SOURCES})
if (USE_AVX2)
target_link_libraries(generate PUBLIC ${Vc_LIBRARIES})
target_include_directories(generate
PUBLIC ${CMAKE_BINARY_DIR}/include/vectorclass)
SYSTEM PUBLIC ${CMAKE_BINARY_DIR}/include/vectorclass)
add_dependencies(generate vectorclass_addon-install)
target_compile_definitions(generate PUBLIC "-DVc_IMPL=AVX2")
if (Vc_BUILTIN)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment