Skip to content

Commit

Permalink
cmake: also export the package install prefix
Browse files Browse the repository at this point in the history
Use case: to build CORBA typekits you need the full path to the /include/orocos//transports/corba,
as the include_dirs might consist of multiple paths, include_dirs cannot be used for this purpose. The prefix path can
be used instead in this use-case.

Signed-off-by: Ruben Smits <[email protected]>
  • Loading branch information
Ruben Smits committed Jun 9, 2015
1 parent 03b2645 commit 3de693f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions UseOROCOS-RTT-helpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ macro( orocos_find_package PACKAGE )
# The flags are space separated, so no need to quote here:
set(${PACKAGE}_CFLAGS_OTHER ${${PACKAGE}_COMP_${OROCOS_TARGET}_CFLAGS_OTHER})
set(${PACKAGE}_LDFLAGS_OTHER ${${PACKAGE}_COMP_${OROCOS_TARGET}_LDFLAGS_OTHER})
set(${PACKAGE}_PREFIX ${${PACKAGE}_COMP_${OROCOS_TARGET}_PREFIX})

else()
if(ORO_FIND_REQUIRED)
Expand Down

0 comments on commit 3de693f

Please sign in to comment.