From 0ffd288fab5686f55d68d0d39baf59568f4389e7 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 18 Sep 2022 07:41:13 +0200 Subject: Build: fix gtest build flags affecting actual library Switch to target_ functions to avoid this. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 359968ca525..ed2aa4de78e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1097,7 +1097,7 @@ if(WITH_CPU_SIMD) if(SUPPORT_NEON_BUILD) # Neon if(SSE2NEON_FOUND) - blender_include_dirs_sys("${SSE2NEON_INCLUDE_DIRS}") + include_directories(SYSTEM "${SSE2NEON_INCLUDE_DIRS}") add_definitions(-DWITH_SSE2NEON) endif() else() -- cgit v1.2.3