-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup pinnings and fix use of ffmpeg dependencies (#38)
* Cleanup pinning In particular: * Change max_pin to x, as Gazebo minor version are ABI backward compatible * Remove run dependencies for packages that correctly have run_exports * Remove explicitly pinning of libsdformat and ignition-common3 * Update meta.yaml * Update fix_ffmpeg_cmake_use.patch * Create cmake_129_workaround.patch * Update fix_build.patch
- Loading branch information
1 parent
5da25dd
commit ba7ae47
Showing
3 changed files
with
55 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From dfea6a5a16660177af31884c5ffa13d2009bbd5a Mon Sep 17 00:00:00 2001 | ||
From: Silvio Traversaro <silvio@traversaro.it> | ||
Date: Sun, 29 Nov 2020 19:24:43 +0100 | ||
Subject: [PATCH] Do not overwrite default linker flags | ||
|
||
--- | ||
cmake/DefaultCFlags.cmake | 8 ++++---- | ||
1 file changed, 4 insertions(+), 4 deletions(-) | ||
|
||
diff --git a/cmake/DefaultCFlags.cmake b/cmake/DefaultCFlags.cmake | ||
index ca02ba295d..a6a11b5fd8 100644 | ||
--- a/cmake/DefaultCFlags.cmake | ||
+++ b/cmake/DefaultCFlags.cmake | ||
@@ -37,10 +37,10 @@ endif() | ||
|
||
##################################### | ||
# Set all the global build flags | ||
-set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}}") | ||
-set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_LINK_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}}") | ||
-set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_LINK_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}}") | ||
-set (CMAKE_MODULE_LINKER_FLAGS "${CMAKE_LINK_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}}") | ||
+set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}}") | ||
+set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${CMAKE_LINK_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}}") | ||
+set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${CMAKE_LINK_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}}") | ||
+set (CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${CMAKE_LINK_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}}") | ||
|
||
# Compiler-specific C++11 activation. | ||
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") | ||
|
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
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