SWDEV-1 - Add -ldl as linking flag for catch2 tests. (#2741)

Change-Id: I81c759363f35c3822447563e51c2db670edf9cb3
This commit is contained in:
ROCm CI Service Account
2022-06-16 09:28:30 +05:30
zatwierdzone przez GitHub
rodzic 7ab1791df3
commit f0e03e9d45
@@ -216,6 +216,7 @@ function(hip_add_exe_to_target)
catch_discover_tests(${_NAME} PROPERTIES SKIP_REGULAR_EXPRESSION "HIP_SKIP_THIS_TEST")
if(UNIX)
set(_LINKER_LIBS ${_LINKER_LIBS} stdc++fs)
set(_LINKER_LIBS ${_LINKER_LIBS} -ldl)
else()
# res files are built resource files using rc files.
# use llvm-rc exe to build the res files