You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Addressed the various issues and ambiguous error reports one could have
when selecting the xenomai target.
Also fixed linking with the mqueue headers in Xenomai environments by
passing the flags from xeno-config directly.
Signed-off-by: Peter Soetens <[email protected]>
# CMake script for finding the XENOMAI Posix skin.
4
4
# If the optional XENOMAI_ROOT_DIR environment variable exists, header files and
5
5
# libraries will be searched in the XENOMAI_ROOT_DIR/include and XENOMAI_ROOT_DIR/lib
6
6
# directories, respectively. Otherwise the default CMake search process will be
@@ -16,9 +16,17 @@
16
16
include(LibFindMacros)
17
17
18
18
# Get hint from environment variable (if any)
19
-
if(NOT$ENV{XENOMAI_POSIX_ROOT_DIR}STREQUAL"")
20
-
set(XENOMAI_POSIX_ROOT_DIR $ENV{XENOMAI_POSIX_ROOT_DIR}CACHEPATH"Xenomai Posix base directory location (optional, used for nonstandard installation paths)" FORCE)
21
-
mark_as_advanced(XENOMAI_POSIX_ROOT_DIR)
19
+
if(NOT$ENV{XENOMAI_ROOT_DIR}STREQUAL"")
20
+
set(XENOMAI_ROOT_DIR $ENV{XENOMAI_ROOT_DIR}CACHEPATH"Xenomai Posix base directory location (optional, used for nonstandard installation paths)" FORCE)
Copy file name to clipboardexpand all lines: config/LibFindMacros.cmake
+1-1
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ macro (libfind_process PREFIX)
71
71
foreach (i ${${PREFIX}_PROCESS_INCLUDES} ${${PREFIX}_PROCESS_LIBS})
72
72
message("${i}=${${i}}")
73
73
endforeach (i)
74
-
message (FATAL_ERROR "Required library ${PREFIX} NOT FOUND.\nInstall the library (dev version) and try again. If the library is already installed, use the ${PREFIX}_ROOT_DIR environment variable or ccmake to set the missing variables manually.")
74
+
message (FATAL_ERROR "Required library ${PREFIX} NOT FOUND.\nInstall the library (dev version) and try again. If the library is already installed, set the ${PREFIX}_ROOT_DIR environment variable or use cmake to set the missing variables manually.")
75
75
else (${PREFIX}_FIND_REQUIRED) # NOTE: else case not included in original file
76
76
message (STATUS"Optional library ${PREFIX} NOT FOUND. If the library is already installed, use the ${PREFIX}_ROOT_DIR environment variable or ccmake to set the missing variables manually.")
Copy file name to clipboardexpand all lines: rtt/orocos-rtt.pc.in
+2-2
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,6 @@ includedir=${prefix}/include
6
6
Name: Orocos-RTT # human-readable name
7
7
Description: Open Robot Control Software: Real-Time Tookit # human-readable description
8
8
Version: @RTT_VERSION@
9
-
Libs: -L${libdir} -lorocos-rtt-@OROCOS_TARGET@ @RTT_USER_LINK_LIBS@ # If some RTT headers include inline calls to other libraries, we need to specify these here too.
9
+
Libs: -L${libdir} -lorocos-rtt-@OROCOS_TARGET@ @RTT_USER_LINK_LIBS@ @RTT_USER_LDFLAGS@ # If some RTT headers include inline calls to other libraries, we need to specify these here too.
0 commit comments