mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Xcode: Also quote strings containing // (#15487)
Otherwise those will be interpreted as start of a comment Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
This commit is contained in:
3
Tests/RunCMake/XcodeProject/XcodeObjectNeedsQuote.cmake
Normal file
3
Tests/RunCMake/XcodeProject/XcodeObjectNeedsQuote.cmake
Normal file
@@ -0,0 +1,3 @@
|
||||
enable_language(C)
|
||||
add_library(some /${CMAKE_CURRENT_SOURCE_DIR}/someFileWithoutSpecialChars)
|
||||
set_property(SOURCE /${CMAKE_CURRENT_SOURCE_DIR}/someFileWithoutSpecialChars PROPERTY LANGUAGE C)
|
||||
Reference in New Issue
Block a user