From ce5d7828875b3e1938400695989f458b96436187 Mon Sep 17 00:00:00 2001 From: Philipp Grulich Date: Tue, 9 Nov 2021 17:32:33 +0100 Subject: [PATCH 1/3] set VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS enabled for open62541 we need to set VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a31431..ea813c8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,4 +22,8 @@ endif() if (PORT STREQUAL llvm) set(VCPKG_BUILD_TYPE release) -endif() \ No newline at end of file +endif() + +if (PORT STREQUAL open62541) + set(VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS enabled) +endif() From 9c6ff3eb04c773547202584680804c09e873af7a Mon Sep 17 00:00:00 2001 From: Philipp Grulich Date: Tue, 9 Nov 2021 17:46:51 +0100 Subject: [PATCH 2/3] fix cmake --- CMakeLists.txt | 6 +----- custom-triplets/arm64-linux-nes.cmake | 3 +++ custom-triplets/arm64-osx-nes.cmake | 3 +++ custom-triplets/x64-linux-nes.cmake | 3 +++ custom-triplets/x64-osx-nes.cmake | 3 +++ 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ea813c8..2a31431 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,8 +22,4 @@ endif() if (PORT STREQUAL llvm) set(VCPKG_BUILD_TYPE release) -endif() - -if (PORT STREQUAL open62541) - set(VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS enabled) -endif() +endif() \ No newline at end of file diff --git a/custom-triplets/arm64-linux-nes.cmake b/custom-triplets/arm64-linux-nes.cmake index 45b26db..a0bca21 100644 --- a/custom-triplets/arm64-linux-nes.cmake +++ b/custom-triplets/arm64-linux-nes.cmake @@ -29,3 +29,6 @@ if (PORT STREQUAL llvm) set(VCPKG_BUILD_TYPE release) endif() +if (PORT STREQUAL open62541) + set(VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS enabled) +endif() diff --git a/custom-triplets/arm64-osx-nes.cmake b/custom-triplets/arm64-osx-nes.cmake index bd0f8ce..aca6179 100644 --- a/custom-triplets/arm64-osx-nes.cmake +++ b/custom-triplets/arm64-osx-nes.cmake @@ -22,3 +22,6 @@ if (PORT STREQUAL llvm) set(VCPKG_BUILD_TYPE release) endif() +if (PORT STREQUAL open62541) + set(VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS enabled) +endif() \ No newline at end of file diff --git a/custom-triplets/x64-linux-nes.cmake b/custom-triplets/x64-linux-nes.cmake index 2efc421..58d2b8c 100644 --- a/custom-triplets/x64-linux-nes.cmake +++ b/custom-triplets/x64-linux-nes.cmake @@ -24,3 +24,6 @@ if (PORT STREQUAL llvm) set(VCPKG_BUILD_TYPE release) endif() +if (PORT STREQUAL open62541) + set(VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS enabled) +endif() \ No newline at end of file diff --git a/custom-triplets/x64-osx-nes.cmake b/custom-triplets/x64-osx-nes.cmake index 064a038..5280890 100644 --- a/custom-triplets/x64-osx-nes.cmake +++ b/custom-triplets/x64-osx-nes.cmake @@ -22,3 +22,6 @@ if (PORT STREQUAL llvm) set(VCPKG_BUILD_TYPE release) endif() +if (PORT STREQUAL open62541) + set(VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS enabled) +endif() \ No newline at end of file From 0a48127ace12a07deace0a4815a1b32020939033 Mon Sep 17 00:00:00 2001 From: Philipp Grulich Date: Tue, 9 Nov 2021 17:53:01 +0100 Subject: [PATCH 3/3] fix cmake --- vcpkg.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcpkg.json b/vcpkg.json index 8106ccc..846a092 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,6 +1,6 @@ { "name": "nebulastream-dependencies", - "version-string": "v6", + "version-string": "v7", "homepage": "https://nebula.stream", "description": "Data Management for the Internet of Things.", "supports": "x64 & (linux | osx)",