File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -138,17 +138,18 @@ if(octomap_FOUND)
138
138
list (GET VERSION_LIST 0 OCTOMAP_MAJOR_VERSION)
139
139
list (GET VERSION_LIST 1 OCTOMAP_MINOR_VERSION)
140
140
list (GET VERSION_LIST 2 OCTOMAP_PATCH_VERSION)
141
- message (STATUS "FCL uses Octomap" )
141
+ message (STATUS "HPP- FCL uses Octomap" )
142
142
else ()
143
143
SET (HPP_FCL_HAS_OCTOMAP FALSE )
144
- message (STATUS "FCL does not use Octomap" )
144
+ message (STATUS "HPP- FCL does not use Octomap" )
145
145
endif ()
146
146
147
147
option (HPP_FCL_HAS_QHULL "use qhull library to compute convex hulls." FALSE )
148
148
if (HPP_FCL_HAS_QHULL)
149
149
find_package (Qhull COMPONENTS qhull_r qhullcpp)
150
150
if (Qhull_FOUND)
151
151
set (HPP_FCL_USE_SYSTEM_QHULL TRUE )
152
+ message (STATUS "HPP-FCL uses system Qhull" )
152
153
else ()
153
154
message (STATUS "Qhullcpp not found: it will be build from sources, if Qhull_r is found" )
154
155
file (MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} /third-parties)
Original file line number Diff line number Diff line change @@ -173,7 +173,10 @@ add_library(${LIBRARY_NAME}
173
173
${${LIBRARY_NAME} _SOURCES}
174
174
)
175
175
176
- set_target_properties (${PROJECT_NAME} PROPERTIES INSTALL_RPATH "\$ ORIGIN" )
176
+ if (UNIX )
177
+ get_relative_rpath(${CMAKE_INSTALL_FULL_LIBDIR} ${PROJECT_NAME} _INSTALL_RPATH)
178
+ set_target_properties (${PROJECT_NAME} PROPERTIES INSTALL_RPATH "${${PROJECT_NAME} _INSTALL_RPATH}" )
179
+ endif ()
177
180
178
181
# IDE sources and headers sorting
179
182
ADD_SOURCE_GROUP(${LIBRARY_NAME} _SOURCES)
You can’t perform that action at this time.
0 commit comments