Skip to content

Commit 0fc3e4a

Browse files
authored
Merge pull request #2564 from compnerd/link-flag
build: add workaround for CMake <3.16
2 parents da19586 + 5d5f5b9 commit 0fc3e4a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

TestFoundation/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11

2+
if(CMAKE_VERSION VERSION_LESS 3.16)
3+
set(CMAKE_LINK_LIBRARY_FLAG "-l")
4+
endif()
5+
26
add_subdirectory(xdgTestHelper)
37

48
add_executable(TestFoundation

0 commit comments

Comments
 (0)