aboutsummaryrefslogtreecommitdiff
path: root/ports/cppcms
diff options
context:
space:
mode:
Diffstat (limited to 'ports/cppcms')
-rw-r--r--ports/cppcms/CONTROL3
-rw-r--r--ports/cppcms/portfile.cmake5
2 files changed, 5 insertions, 3 deletions
diff --git a/ports/cppcms/CONTROL b/ports/cppcms/CONTROL
index 2acc51fdf..2d4f63095 100644
--- a/ports/cppcms/CONTROL
+++ b/ports/cppcms/CONTROL
@@ -1,5 +1,6 @@
Source: cppcms
-Version: 1.2.1-1
+Version: 1.2.1
+Port-Version: 2
Homepage: https://github.com/artyom-beilis/cppcms
Description: CppCMS is a Free High Performance Web Development Framework (not a CMS) aimed at Rapid Web Application Development
Build-Depends: icu, pcre, openssl, zlib
diff --git a/ports/cppcms/portfile.cmake b/ports/cppcms/portfile.cmake
index 383022fab..d25c1b18e 100644
--- a/ports/cppcms/portfile.cmake
+++ b/ports/cppcms/portfile.cmake
@@ -10,12 +10,13 @@ vcpkg_from_github(
)
vcpkg_find_acquire_program(PYTHON2)
-get_filename_component(PYTHON2_DIR ${PYTHON2} DIRECTORY)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
- OPTIONS -DCMAKE_PROGRAM_PATH=${PYTHON2_DIR} -DUSE_WINDOWS6_API=ON
+ OPTIONS
+ -DPYTHON=${PYTHON2} # Switch to python3 on the next update
+ -DUSE_WINDOWS6_API=ON
)
vcpkg_install_cmake()