aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-10-14 02:07:56 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-10-14 02:07:56 -0700
commitb73327558ba79354769961a8c3f68e61fe9b673e (patch)
tree9108f1af168838483113b46a0c3a0af1699ed883
parentbf41a93b9de45f5d407fd03a36096f2cd37902b4 (diff)
downloadvcpkg-b73327558ba79354769961a8c3f68e61fe9b673e.tar.gz
vcpkg-b73327558ba79354769961a8c3f68e61fe9b673e.zip
`integrate` Fix quotes in command (in case of space in the path)
-rw-r--r--toolsrc/src/vcpkg/commands.integrate.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/toolsrc/src/vcpkg/commands.integrate.cpp b/toolsrc/src/vcpkg/commands.integrate.cpp
index 7f6639222..85b567adb 100644
--- a/toolsrc/src/vcpkg/commands.integrate.cpp
+++ b/toolsrc/src/vcpkg/commands.integrate.cpp
@@ -230,13 +230,14 @@ namespace vcpkg::Commands::Integrate
}
System::println(System::Color::success, "Applied user-wide integration for this vcpkg root.");
const fs::path cmake_toolchain = paths.buildsystems / "vcpkg.cmake";
- System::println("\n"
- "All MSBuild C++ projects can now #include any installed libraries.\n"
- "Linking will be handled automatically.\n"
- "Installing new libraries will make them instantly available.\n"
- "\n"
- "CMake projects should use -DCMAKE_TOOLCHAIN_FILE=%s",
- cmake_toolchain.generic_string());
+ System::println(
+ R"(
+All MSBuild C++ projects can now #include any installed libraries.
+Linking will be handled automatically.
+Installing new libraries will make them instantly available.
+
+CMake projects should use: "-DCMAKE_TOOLCHAIN_FILE=%s")",
+ cmake_toolchain.generic_string());
Checks::exit_success(VCPKG_LINE_INFO);
}