Skip to content

Commit

Permalink
Quote cmake variable in case it isn't properly set.
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmccall committed Nov 17, 2015
1 parent ea9bd9c commit a653f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/public/SwiftShims/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ add_custom_command_target(unused_var
# Symlink in the Clang headers.
# First extract the "version" used for Clang's resource directory.
string(REGEX MATCH "[0-9]+\\.[0-9]+(\\.[0-9]+)?" CLANG_VERSION
${LLVM_PACKAGE_VERSION})
"${LLVM_PACKAGE_VERSION}")
set(clang_headers_locations
"${LLVM_LIBRARY_DIR}/clang/${CLANG_VERSION}"

Expand Down

0 comments on commit a653f71

Please sign in to comment.