Skip to content

Commit 14a3bef

Browse files
authored
Fix installation path with colcon (#273)
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
1 parent b2d9b09 commit 14a3bef

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)