From c35d84f002d213c0e2207d28c711565d6d5f0e6d Mon Sep 17 00:00:00 2001 From: Vasile Vilvoiu Date: Sat, 9 Apr 2022 16:43:57 +0300 Subject: Add libecbor. --- .../libecbor/files/libecbor-1.0.1-no-output-dirs.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 dev-cpp/libecbor/files/libecbor-1.0.1-no-output-dirs.patch (limited to 'dev-cpp/libecbor/files/libecbor-1.0.1-no-output-dirs.patch') diff --git a/dev-cpp/libecbor/files/libecbor-1.0.1-no-output-dirs.patch b/dev-cpp/libecbor/files/libecbor-1.0.1-no-output-dirs.patch new file mode 100644 index 0000000..a6ce831 --- /dev/null +++ b/dev-cpp/libecbor/files/libecbor-1.0.1-no-output-dirs.patch @@ -0,0 +1,15 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 4b4e555..114d256 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -70,8 +70,8 @@ set_target_properties (${PROJECT_NAME}_static PROPERTIES OUTPUT_NAME ${PROJECT_N + + target_compile_options (${PROJECT_NAME}_static PRIVATE -nostdlib) + +-install (TARGETS ${PROJECT_NAME}_shared LIBRARY DESTINATION lib PUBLIC_HEADER DESTINATION include) +-install (TARGETS ${PROJECT_NAME}_static ARCHIVE DESTINATION lib PUBLIC_HEADER DESTINATION include) ++install (TARGETS ${PROJECT_NAME}_shared PUBLIC_HEADER DESTINATION include) ++install (TARGETS ${PROJECT_NAME}_static PUBLIC_HEADER DESTINATION include) + + # Tool Targets + if (BUILD_DESCRIBE_TOOL) -- cgit v1.2.3