Skip to content

Commit b5856e5

Browse files
committed
Refs 23927. Fix installation path with colcon
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
1 parent b2d9b09 commit b5856e5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

fastdds_python/src/swig/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ target_link_libraries(${PROJECT_NAME}
8080
option(BUILD_FOR_DEBIAN_PACKAGE "Build for debian package" OFF)
8181
if (BUILD_FOR_DEBIAN_PACKAGE)
8282
set(GET_PATH_SCHEME "\'deb_system\',")
83+
elseif (NOT WIN32)
84+
set(GET_PATH_SCHEME "\'posix_prefix\',")
8385
endif()
8486

8587
# Find the installation path

0 commit comments

Comments
 (0)