Skip to content

Commit 50f8476

Browse files
Fix misplaced return statement
1 parent 1bd0937 commit 50f8476

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
@@ -2123,8 +2123,8 @@ function (IS_SYSTEM_PATH path is_system_path)
21232123
foreach (dir ${CMAKE_SYSTEM_PATH})
21242124
if ("${path}" STREQUALS "$dir")
21252125
set(${is_system_path} TRUE PARENT_SCOPE)
2126+
return()
21262127
endif()
2127-
return()
21282128
endforeach()
21292129
set(${is_system_path} FALSE PARENT_SCOPE)
21302130
endfunction()

0 commit comments

Comments
 (0)