aboutsummaryrefslogtreecommitdiff
path: root/scripts/templates
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-02-08 15:26:36 -0800
committerRobert Schumacher <roschuma@microsoft.com>2017-02-08 15:26:36 -0800
commit626f4404e90523eebefb084e3e603543626cc293 (patch)
tree41c93a7ad44df67657cf8413fed745048579baf5 /scripts/templates
parent2e94dfe97ca44dd78b3224321b5f9e06e6635854 (diff)
parent4d433302417d7e2b6478d731bc222847c2cd434a (diff)
downloadvcpkg-626f4404e90523eebefb084e3e603543626cc293.tar.gz
vcpkg-626f4404e90523eebefb084e3e603543626cc293.zip
Merge pull request #628 from codicodi/ninja-support
Add Ninja support
Diffstat (limited to 'scripts/templates')
-rw-r--r--scripts/templates/portfile.in.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/templates/portfile.in.cmake b/scripts/templates/portfile.in.cmake
index c848b6445..ef72431ff 100644
--- a/scripts/templates/portfile.in.cmake
+++ b/scripts/templates/portfile.in.cmake
@@ -17,6 +17,7 @@ vcpkg_extract_source_archive(${ARCHIVE})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA # Disable this option if project cannot be built with Ninja
# OPTIONS -DUSE_THIS_IN_ALL_BUILDS=1 -DUSE_THIS_TOO=2
# OPTIONS_RELEASE -DOPTIMIZE=1
# OPTIONS_DEBUG -DDEBUGGABLE=1