aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-06-20 16:19:36 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-06-20 16:29:35 -0700
commit833c38c6307e8e34bcf578fc7e24b29228f35928 (patch)
treee6a4fba294c426a0e6779009b524396fe912f040 /ports
parente4e2d27ee90456b674171df1fb3daf6ff2b894aa (diff)
downloadvcpkg-833c38c6307e8e34bcf578fc7e24b29228f35928.tar.gz
vcpkg-833c38c6307e8e34bcf578fc7e24b29228f35928.zip
[jansson] Enable cmake scripts
Diffstat (limited to 'ports')
-rw-r--r--ports/jansson/portfile.cmake11
1 files changed, 2 insertions, 9 deletions
diff --git a/ports/jansson/portfile.cmake b/ports/jansson/portfile.cmake
index c5409bec2..50d5a994e 100644
--- a/ports/jansson/portfile.cmake
+++ b/ports/jansson/portfile.cmake
@@ -30,17 +30,10 @@ vcpkg_configure_cmake(
-DJANSSON_BUILD_SHARED_LIBS=${JANSSON_BUILD_SHARED_LIBS}
)
-
vcpkg_install_cmake(DISABLE_PARALLEL)
+vcpkg_fixup_cmake_targets(CONFIG_PATH cmake)
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/jansson RENAME copyright)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/cmake)
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/cmake)
-
-if(VCPKG_CRT_LINKAGE STREQUAL static)
- file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
-endif()
-
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/jansson RENAME copyright)
vcpkg_copy_pdbs()