mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 03:39:43 -06:00
Tests: Enable Framework test case with spaces everywhere possible
This commit is contained in:
@@ -804,6 +804,7 @@ if(BUILD_TESTING)
|
||||
${build_generator_args}
|
||||
--build-project Framework
|
||||
--build-options
|
||||
-DMAKE_SUPPORTS_SPACES=${MAKE_SUPPORTS_SPACES}
|
||||
"-DCMAKE_INSTALL_PREFIX:PATH=${CMake_BINARY_DIR}/Tests/Framework/Install"
|
||||
--test-command bar)
|
||||
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Framework")
|
||||
|
||||
@@ -83,7 +83,7 @@ if(NOT XCODE OR NOT XCODE_VERSION VERSION_LESS 5)
|
||||
target_link_libraries(barStatic fooStatic)
|
||||
endif()
|
||||
|
||||
if(XCODE)
|
||||
if(MAKE_SUPPORTS_SPACES AND NOT CMAKE_GENERATOR STREQUAL "Watcom WMake")
|
||||
add_library(space SHARED space.c)
|
||||
set_target_properties(space PROPERTIES
|
||||
FRAMEWORK TRUE
|
||||
|
||||
Reference in New Issue
Block a user