Skip to content

Commit 73f2a62

Browse files
authored
Merge pull request #2370 from compnerd/london-bridge-is-falling-down
build: collapse two identical cases (NFC)
2 parents b681ea6 + a1af1af commit 73f2a62

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Diff for: CMakeLists.txt

+2-4
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,8 @@ if(FOUNDATION_ENABLE_LIBDISPATCH)
9797
endif()
9898
endif()
9999

100-
if(CMAKE_SYSTEM_NAME STREQUAL Android OR CMAKE_SYSTEM_NAME STREQUAL Linux)
101-
set(Foundation_RPATH -Xlinker;-rpath;-Xlinker;"\\\$\$ORIGIN")
102-
set(XDG_TEST_HELPER_RPATH -Xlinker;-rpath;-Xlinker;${CMAKE_CURRENT_BINARY_DIR})
103-
elseif(CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
100+
if(CMAKE_SYSTEM_NAME STREQUAL Android OR CMAKE_SYSTEM_NAME STREQUAL Linux OR
101+
CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
104102
set(Foundation_RPATH -Xlinker;-rpath;-Xlinker;"\\\$\$ORIGIN")
105103
set(XDG_TEST_HELPER_RPATH -Xlinker;-rpath;-Xlinker;${CMAKE_CURRENT_BINARY_DIR})
106104
elseif(CMAKE_SYSTEM_NAME STREQUAL Windows)

0 commit comments

Comments
 (0)