diff options
| author | Mateusz Łoskot <mateusz@loskot.net> | 2021-02-14 10:21:21 +0100 |
|---|---|---|
| committer | Mateusz Łoskot <mateusz@loskot.net> | 2021-02-14 10:21:21 +0100 |
| commit | 5fc8ab2de9f9e44f593e477defdf9b474871a5d2 (patch) | |
| tree | 9f4ce5953eabd4670ea5b82a0c0baf0bc2c683f8 /test/postinstall | |
| parent | 32d442ddc69cbc159c75781f33c575ea5b11fc43 (diff) | |
| download | PROJ-5fc8ab2de9f9e44f593e477defdf9b474871a5d2.tar.gz PROJ-5fc8ab2de9f9e44f593e477defdf9b474871a5d2.zip | |
CMake: Prefer keyword signature of target_link_libraries command
Closes #2515
Diffstat (limited to 'test/postinstall')
| -rw-r--r-- | test/postinstall/testappprojinfo/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
