[soci] fixed SOCI_CXX11 flag (#9887)

* [soci] fixed SOCI_CXX11 flag

Signed-off-by: Mikhail Boldyrev <miboldyrev@gmail.com>

* [soci] removed vcpkg_common_functions include

Signed-off-by: Mikhail Boldyrev <miboldyrev@gmail.com>
This commit is contained in:
Mikhail Boldyrev 2020-02-07 20:34:22 +03:00 committed by GitHub
parent 50d1e2998e
commit 209b2e3355
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,5 @@
Source: soci
Version: 4.0.0
Version: 4.0.0-1
Homepage: https://github.com/SOCI/soci
Description: SOCI database access library

View File

@ -1,4 +1,3 @@
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO SOCI/soci
@ -31,7 +30,7 @@ vcpkg_configure_cmake(
PREFER_NINJA
OPTIONS
-DSOCI_TESTS=OFF
-DSOCI_CXX_C11=ON
-DSOCI_CXX11=ON
-DSOCI_LIBDIR:STRING=lib # This is to always have output in the lib folder and not lib64 for 64-bit builds
-DLIBDIR:STRING=lib
-DSOCI_STATIC=${SOCI_STATIC}