mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 03:59:02 +08:00
[sqlitecpp] do not use stack protection (#25761)
* do not use stack protection fixes #25760 * update version * update baseline * only remove stack protection for mingw64 * update version * Make variable visible even if unused Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com> * update version Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
This commit is contained in:
parent
870165b0f6
commit
8b7ac186bf
@ -14,6 +14,10 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
sqlcipher SQLITE_HAS_CODEC
|
||||
)
|
||||
set(USE_STACK_PROTECTION "")
|
||||
if(VCPKG_TARGET_IS_MINGW)
|
||||
set(USE_STACK_PROTECTION "-DSQLITECPP_USE_STACK_PROTECTION=OFF")
|
||||
endif()
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
@ -25,6 +29,7 @@ vcpkg_configure_cmake(
|
||||
-DSQLITECPP_INTERNAL_SQLITE=OFF
|
||||
-DSQLITE_ENABLE_COLUMN_METADATA=OFF
|
||||
-DSQLITECPP_INTERNAL_SQLITE=OFF
|
||||
${USE_STACK_PROTECTION}
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "sqlitecpp",
|
||||
"version-string": "3.1.1",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.",
|
||||
"homepage": "https://github.com/SRombauts/SQLiteCpp",
|
||||
"default-features": [
|
||||
|
@ -6838,7 +6838,7 @@
|
||||
},
|
||||
"sqlitecpp": {
|
||||
"baseline": "3.1.1",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"sqlpp11": {
|
||||
"baseline": "0.61",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "2b16a053ff6df932be1e7b02ad0b34dff2a03cf5",
|
||||
"version-string": "3.1.1",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "95b41ad9727bd341deba2739968a3d7173c0fb9b",
|
||||
"version-string": "3.1.1",
|
||||
|
Loading…
Reference in New Issue
Block a user