Skip to content

Commit 4bd3629

Browse files
committed
fix for external lib with gcc error#
1 parent d02a900 commit 4bd3629

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shared/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ target_include_directories(${TARGET_LIB}
8888
get_target_property(_sv_includes nonstd::string-view-lite INTERFACE_INCLUDE_DIRECTORIES)
8989
get_target_property(_rh_includes robin_hood::robin_hood INTERFACE_INCLUDE_DIRECTORIES)
9090

91-
target_include_directories(${TARGET_LIB}
91+
target_include_directories(${TARGET_LIB} SYSTEM
9292
PUBLIC
9393
$<BUILD_INTERFACE:${_sv_includes}>
9494
$<BUILD_INTERFACE:${_rh_includes}>

0 commit comments

Comments
 (0)