summaryrefslogtreecommitdiffstats
path: root/Tests/Framework/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-03-10 15:03:36 (GMT)
committerBrad King <brad.king@kitware.com>2021-03-10 15:03:36 (GMT)
commitb6cc9be00900dec8f7a99b85c1a4cf86b1aebdb2 (patch)
treee5137712e5458cfb8becab61db736d29ab30979a /Tests/Framework/CMakeLists.txt
parentbef1cc77effd833c75f6fb526055cba3df115059 (diff)
parent4f9a71974e0d6e34c81fd8f55fce4118157e5559 (diff)
downloadCMake-b6cc9be00900dec8f7a99b85c1a4cf86b1aebdb2.zip
CMake-b6cc9be00900dec8f7a99b85c1a4cf86b1aebdb2.tar.gz
CMake-b6cc9be00900dec8f7a99b85c1a4cf86b1aebdb2.tar.bz2
Merge branch 'backport-xcode-framework-quoting' into xcode-framework-quoting
Diffstat (limited to 'Tests/Framework/CMakeLists.txt')
-rw-r--r--Tests/Framework/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/Framework/CMakeLists.txt b/Tests/Framework/CMakeLists.txt
index f741ec2..aabf6b4 100644
--- a/Tests/Framework/CMakeLists.txt
+++ b/Tests/Framework/CMakeLists.txt
@@ -83,6 +83,16 @@ if(NOT XCODE OR NOT XCODE_VERSION VERSION_LESS 5)
target_link_libraries(barStatic fooStatic)
endif()
+if(XCODE)
+ add_library(space SHARED space.c)
+ set_target_properties(space PROPERTIES
+ FRAMEWORK TRUE
+ OUTPUT_NAME "space space"
+ )
+ add_executable(use_space use_space.c)
+ target_link_libraries(use_space PRIVATE space)
+endif()
+
include(CPack)
if(APPLE)