summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-09-15 13:04:40 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-09-15 13:04:49 (GMT)
commit2b91a96633cc1ef32abe98b3939417bfb2cd00a7 (patch)
tree8b46d6103631c95184ce6bf7968d35368d3e3e1f /Tests
parent9b22e036d12fe590b1e7512bbed90ddbc54128eb (diff)
parentfc06450ff49db8ebf86977b85206c75de4a40ed3 (diff)
downloadCMake-2b91a96633cc1ef32abe98b3939417bfb2cd00a7.zip
CMake-2b91a96633cc1ef32abe98b3939417bfb2cd00a7.tar.gz
CMake-2b91a96633cc1ef32abe98b3939417bfb2cd00a7.tar.bz2
Merge topic 'link-framework-with-multi-config-postfix'
fc06450ff4 Apple: Fix regression when linking a framework with postfix Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7675
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/Framework/FrameworkMultiConfigPostfix.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/Framework/FrameworkMultiConfigPostfix.cmake b/Tests/RunCMake/Framework/FrameworkMultiConfigPostfix.cmake
index 51e627d..3afda4d 100644
--- a/Tests/RunCMake/Framework/FrameworkMultiConfigPostfix.cmake
+++ b/Tests/RunCMake/Framework/FrameworkMultiConfigPostfix.cmake
@@ -23,3 +23,8 @@ string(APPEND content
"set(target_file_name ${target_name})\n")
file(GENERATE OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/FrameworkMultiConfigPostfixInfo.cmake
CONTENT "${content}")
+
+
+# Try to link this framework to ensure postfix is correctly handled
+add_library(otherlib SHARED foo.c)
+target_link_libraries(otherlib PRIVATE ${target_name})