aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoratkawa7 <atkawa7@yahoo.com>2017-07-27 21:07:39 -0700
committeratkawa7 <atkawa7@yahoo.com>2017-07-27 21:07:39 -0700
commitc1da4fa5298207fd796c3a1eee6b8133391928e7 (patch)
treedd1ef543e8982fcaf3473e58f0a05f0e8cb63f4c
parente665c617b2eefc094da355c20e7e1570d88108a8 (diff)
downloadvcpkg-c1da4fa5298207fd796c3a1eee6b8133391928e7.tar.gz
vcpkg-c1da4fa5298207fd796c3a1eee6b8133391928e7.zip
[log4plus] update and fix cmake
-rw-r--r--ports/log4cplus/CONTROL2
-rw-r--r--ports/log4cplus/portfile.cmake6
2 files changed, 7 insertions, 1 deletions
diff --git a/ports/log4cplus/CONTROL b/ports/log4cplus/CONTROL
index 2d367a31a..d4af82051 100644
--- a/ports/log4cplus/CONTROL
+++ b/ports/log4cplus/CONTROL
@@ -1,3 +1,3 @@
Source: log4cplus
-Version: 1.1.3-RC7
+Version: REL_1_2_1-RC2
Description: A simple to use C++ logging API providing thread--safe, flexible, and arbitrarily granular control over log management and configuration
diff --git a/ports/log4cplus/portfile.cmake b/ports/log4cplus/portfile.cmake
index ecd4e5765..c1c5de3e2 100644
--- a/ports/log4cplus/portfile.cmake
+++ b/ports/log4cplus/portfile.cmake
@@ -9,12 +9,18 @@ vcpkg_from_github(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA
OPTIONS -DLOG4CPLUS_BUILD_TESTING=OFF -DLOG4CPLUS_BUILD_LOGGINGSERVER=OFF -DWITH_UNIT_TESTS=OFF
)
vcpkg_install_cmake()
+vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake)
+
+vcpkg_copy_pdbs()
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
# Handle copyright
file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/log4cplus)