From 5fc8ab2de9f9e44f593e477defdf9b474871a5d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20=C5=81oskot?= Date: Sun, 14 Feb 2021 10:21:21 +0100 Subject: CMake: Prefer keyword signature of target_link_libraries command Closes #2515 --- test/postinstall/testappprojinfo/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/postinstall') diff --git a/test/postinstall/testappprojinfo/CMakeLists.txt b/test/postinstall/testappprojinfo/CMakeLists.txt index 2405bc8c..beac54ff 100644 --- a/test/postinstall/testappprojinfo/CMakeLists.txt +++ b/test/postinstall/testappprojinfo/CMakeLists.txt @@ -17,7 +17,7 @@ foreach(_variableName ${_variableNames}) endforeach() add_executable(testappprojinfo testappprojinfo.c) -target_link_libraries(testappprojinfo ${${USE_PROJ_NAME}_LIBRARIES}) +target_link_libraries(testappprojinfo PRIVATE ${${USE_PROJ_NAME}_LIBRARIES}) include(CTest) -- cgit v1.2.3