-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
191 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
recipes/odrcore/all/patches/1.0.0-0001-fix-cmake-install.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 3a27624..93a9966 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -95,3 +95,20 @@ set_property(TARGET odrlib PROPERTY POSITION_INDEPENDENT_CODE ON) | ||
add_subdirectory("test") | ||
|
||
add_subdirectory("main") | ||
+ | ||
+install( | ||
+ DIRECTORY include/ | ||
+ DESTINATION include/ | ||
+) | ||
+install( | ||
+ DIRECTORY src/ | ||
+ DESTINATION include/ | ||
+ FILES_MATCHING PATTERN "*.h" | ||
+) | ||
+install( | ||
+ TARGETS odrlib odrmain | ||
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} | ||
+ BUNDLE DESTINATION ${CMAKE_INSTALL_BINDIR} | ||
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||
+) |
File renamed without changes.
20 changes: 20 additions & 0 deletions
20
recipes/odrcore/all/patches/2.0.0-0002-fix-cmake-install.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 746026d..398f751 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -181,6 +181,15 @@ if (ODR_TEST) | ||
add_subdirectory(test) | ||
endif () | ||
|
||
+install( | ||
+ DIRECTORY include/ | ||
+ DESTINATION include/ | ||
+) | ||
+install( | ||
+ DIRECTORY src/ | ||
+ DESTINATION include/ | ||
+ FILES_MATCHING PATTERN "*.h" | ||
+) | ||
install( | ||
TARGETS | ||
odr-static |
20 changes: 20 additions & 0 deletions
20
recipes/odrcore/all/patches/2.1.0-0001-fix-cmake-install.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index fc99fa9..28bd28a 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -195,6 +195,15 @@ if (ODR_TEST) | ||
add_subdirectory(test) | ||
endif () | ||
|
||
+install( | ||
+ DIRECTORY include/ | ||
+ DESTINATION include/ | ||
+ ) | ||
+install( | ||
+ DIRECTORY src/ | ||
+ DESTINATION include/ | ||
+ FILES_MATCHING PATTERN "*.h" | ||
+ ) | ||
install( | ||
TARGETS | ||
odr |
20 changes: 20 additions & 0 deletions
20
recipes/odrcore/all/patches/2.1.1-0001-fix-cmake-install.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index fc99fa9..28bd28a 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -195,6 +195,15 @@ if (ODR_TEST) | ||
add_subdirectory(test) | ||
endif () | ||
|
||
+install( | ||
+ DIRECTORY include/ | ||
+ DESTINATION include/ | ||
+ ) | ||
+install( | ||
+ DIRECTORY src/ | ||
+ DESTINATION include/ | ||
+ FILES_MATCHING PATTERN "*.h" | ||
+ ) | ||
install( | ||
TARGETS | ||
odr |
20 changes: 20 additions & 0 deletions
20
recipes/odrcore/all/patches/2.1.2-0001-fix-cmake-install.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 7c097cb..7553706 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -192,6 +192,15 @@ if (ODR_TEST) | ||
add_subdirectory(test) | ||
endif () | ||
|
||
+install( | ||
+ DIRECTORY include/ | ||
+ DESTINATION include/ | ||
+ ) | ||
+install( | ||
+ DIRECTORY src/ | ||
+ DESTINATION include/ | ||
+ FILES_MATCHING PATTERN "*.h" | ||
+ ) | ||
install( | ||
TARGETS | ||
odr |
20 changes: 20 additions & 0 deletions
20
recipes/odrcore/all/patches/2.2.0-0001-fix-cmake-install.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index a037876..d51df1c 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -189,6 +189,15 @@ if (ODR_TEST) | ||
add_subdirectory(test) | ||
endif () | ||
|
||
+install( | ||
+ DIRECTORY include/ | ||
+ DESTINATION include/ | ||
+ ) | ||
+install( | ||
+ DIRECTORY src/ | ||
+ DESTINATION include/ | ||
+ FILES_MATCHING PATTERN "*.h" | ||
+ ) | ||
install( | ||
TARGETS | ||
odr |
16 changes: 16 additions & 0 deletions
16
recipes/odrcore/all/patches/3.0.0-0001-fix-cmake-install.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 51afb68..be0e892 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -189,6 +189,11 @@ if (ODR_CLANG_TIDY) | ||
add_subdirectory("static_analysis/clang-tidy") | ||
endif () | ||
|
||
+install( | ||
+ DIRECTORY src/ | ||
+ DESTINATION include/ | ||
+ FILES_MATCHING PATTERN "*.hpp" | ||
+) | ||
install( | ||
TARGETS | ||
odr |
File renamed without changes.
16 changes: 16 additions & 0 deletions
16
recipes/odrcore/all/patches/4.0.0-0002-fix-cmake-install.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index c6277ef..557df44 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -209,6 +209,11 @@ if (ODR_CLANG_TIDY) | ||
add_subdirectory("static_analysis/clang-tidy") | ||
endif () | ||
|
||
+install( | ||
+ DIRECTORY src/ | ||
+ DESTINATION include/ | ||
+ FILES_MATCHING PATTERN "*.hpp" | ||
+) | ||
install( | ||
TARGETS | ||
odr |