[cyclonedds-cxx] Fix idllib (#29954)

This commit is contained in:
Andrew Kornilov 2023-03-02 22:29:01 +03:00 committed by GitHub
parent 741bbd3902
commit c7e4edfe73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 28 deletions

View File

@ -4,8 +4,6 @@ vcpkg_from_github(
REF "${VERSION}" REF "${VERSION}"
SHA512 7131b0980edf4dbd16ffd29edde24b4f31c8a4813eda7dfe93fe11f9eb102ef682651a037a12bf671b4617a673e35d97106172828328e47de51d0baddae22ab6 SHA512 7131b0980edf4dbd16ffd29edde24b4f31c8a4813eda7dfe93fe11f9eb102ef682651a037a12bf671b4617a673e35d97106172828328e47de51d0baddae22ab6
HEAD_REF master HEAD_REF master
PATCHES
static-idllib.patch
) )
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS

View File

@ -1,25 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0b7f8cd..deb2b69 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,6 +13,7 @@ cmake_minimum_required(VERSION 3.16)
project(CycloneDDS-CXX VERSION 0.10.2 LANGUAGES C CXX)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake/Modules")
+find_package(OpenSSL REQUIRED)
# Conan
if(EXISTS "${CMAKE_BINARY_DIR}/conanbuildinfo.cmake" AND NOT CONAN_DEPENDENCIES)
diff --git a/src/idlcxx/CMakeLists.txt b/src/idlcxx/CMakeLists.txt
index 13531be..b706668 100644
--- a/src/idlcxx/CMakeLists.txt
+++ b/src/idlcxx/CMakeLists.txt
@@ -12,7 +12,7 @@
include(GenerateExportHeader)
add_library(
- idlcxx SHARED
+ idlcxx
src/types.c
src/traits.c
src/streamers.c

View File

@ -1,6 +1,7 @@
{ {
"name": "cyclonedds-cxx", "name": "cyclonedds-cxx",
"version": "0.10.2", "version": "0.10.2",
"port-version": 1,
"description": "C++ binding for Eclipse Cyclone DDS", "description": "C++ binding for Eclipse Cyclone DDS",
"homepage": "https://cyclonedds.io", "homepage": "https://cyclonedds.io",
"license": "EPL-2.0", "license": "EPL-2.0",

View File

@ -1914,7 +1914,7 @@
}, },
"cyclonedds-cxx": { "cyclonedds-cxx": {
"baseline": "0.10.2", "baseline": "0.10.2",
"port-version": 0 "port-version": 1
}, },
"czmq": { "czmq": {
"baseline": "4.2.1", "baseline": "4.2.1",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "4b29e2454be8abe4661edb20bde4cd35871202d4",
"version": "0.10.2",
"port-version": 1
},
{ {
"git-tree": "163e5b6e1b6e95281b7888cf31b6407c40981040", "git-tree": "163e5b6e1b6e95281b7888cf31b6407c40981040",
"version": "0.10.2", "version": "0.10.2",