Skip to content

Commit f6d29c7

Browse files
committed
CMake: Specify the jitify2 include directory as SYSTEM to attempt warning suppression on windows
1 parent 06766f4 commit f6d29c7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmake/modules/FindJitify.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ find_package_handle_standard_args(Jitify
3737
VERSION_VAR Jitify_VERSION
3838
)
3939

40-
# Create a header only (INTERFACE) target which can be linked against to upadte include directories. Mark as IMPORTED as there are no build steps.
40+
# Create a header only (INTERFACE) target which can be linked against to update include directories. Mark as IMPORTED as there are no build steps.
4141
add_library(Jitify::jitify INTERFACE IMPORTED)
42-
target_include_directories(Jitify::jitify INTERFACE ${Jitify_INCLUDE_DIRS})
42+
target_include_directories(Jitify::jitify SYSTEM INTERFACE ${Jitify_INCLUDE_DIRS})
4343

4444
# Set returned values as advanced?
4545
mark_as_advanced(Jitify_INCLUDE_DIRS Jitify_VERSION)

0 commit comments

Comments
 (0)