Skip to content

Commit 6feedf8

Browse files
Fix misplaced return statement
1 parent 06a9220 commit 6feedf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/RootMacros.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2145,8 +2145,8 @@ function (IS_SYSTEM_PATH path is_system_path)
21452145
foreach (dir ${CMAKE_SYSTEM_PATH})
21462146
if ("${path}" STREQUALS "$dir")
21472147
set(${is_system_path} TRUE PARENT_SCOPE)
2148+
return()
21482149
endif()
2149-
return()
21502150
endforeach()
21512151
set(${is_system_path} FALSE PARENT_SCOPE)
21522152
endfunction()

0 commit comments

Comments
 (0)