-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[lcm] Disable unexpected components. Only install one flavor. Don't d…
…elete DLL.
- Loading branch information
1 parent
21ef72d
commit 9c6698a
Showing
3 changed files
with
46 additions
and
5 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Source: lcm | ||
Version: 1.3.95 | ||
Version: 1.3.95-1 | ||
Build-Depends: glib | ||
Description: Lightweight Communications and Marshalling (LCM) | ||
LCM is a set of libraries and tools for message passing and data marshalling, targeted at real-time systems where high-bandwidth and low latency are critical. It provides a publish/subscribe message passing model and automatic marshalling/unmarshalling code generation with bindings for applications in a variety of programming languages. |
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,19 @@ | ||
diff --git a/lcm/CMakeLists.txt b/lcm/CMakeLists.txt | ||
index a706a85..639ec12 100644 | ||
--- a/lcm/CMakeLists.txt | ||
+++ b/lcm/CMakeLists.txt | ||
@@ -76,8 +76,12 @@ endif() | ||
target_include_directories(lcm-coretypes INTERFACE | ||
$<BUILD_INTERFACE:${lcm_SOURCE_DIR}> | ||
) | ||
- | ||
-install(TARGETS lcm-coretypes lcm-static lcm | ||
+if(BUILD_SHARED_LIBS) | ||
+ set(INSTALL_TARGETS lcm) | ||
+else() | ||
+ set(INSTALL_TARGETS lcm-static) | ||
+endif() | ||
+install(TARGETS lcm-coretypes ${INSTALL_TARGETS} | ||
EXPORT lcmTargets | ||
RUNTIME DESTINATION bin | ||
LIBRARY DESTINATION lib${LIB_SUFFIX} |
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