summaryrefslogtreecommitdiff
path: root/dev-cpp/libecbor/files/libecbor-1.0.1-no-output-dirs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/libecbor/files/libecbor-1.0.1-no-output-dirs.patch')
-rw-r--r--dev-cpp/libecbor/files/libecbor-1.0.1-no-output-dirs.patch15
1 files changed, 15 insertions, 0 deletions
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)