Skip to content

Commit

Permalink
Fix rpmbuild issues (#1881)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Theall <[email protected]>
  • Loading branch information
mtheall authored Jun 14, 2023
1 parent b8d40e9 commit 20c8849
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ if(APPEND_PROJECT_NAME_TO_INCLUDEDIR)
endif()
set(INCLUDE_INSTALL_DIR "${_include_dir}" CACHE PATH "Installation directory for C++ headers")
unset(_include_dir)
set(LIB_INSTALL_DIR lib/ CACHE PATH "Installation directory for libraries")
set(LIB_INSTALL_DIR lib${LIB_SUFFIX}/ CACHE PATH "Installation directory for libraries")
set(DATA_INSTALL_DIR share/ CACHE PATH "Installation directory for data")
if(WIN32)
set(DOC_DIR "doc")
Expand Down
Empty file modified include/fastrtps/utils/md5.h
100755 → 100644
Empty file.
2 changes: 2 additions & 0 deletions tools/fastdds/fastdds
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
#!/bin/sh

dir="`dirname \"$0\"`"
python3 "$dir/../tools/fastdds/fastdds.py" ${@}
2 changes: 2 additions & 0 deletions tools/fastdds/ros-discovery
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
#!/bin/sh

dir="`dirname \"$0\"`"
python3 "$dir/../tools/fastdds/fastdds.py" discovery ${@}
2 changes: 1 addition & 1 deletion tools/fds/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,6 @@ if( WIN32 )
else()
# Use ln to create the symbolic link. We remove the version from the file name but keep the debug suffix
install(
CODE "execute_process(COMMAND bash -c \"if [[ -h ${PROJECT_NAME} ]]; then rm ${PROJECT_NAME}; fi; ln -s $<TARGET_FILE_NAME:${PROJECT_NAME}> ${PROJECT_NAME}\" WORKING_DIRECTORY \"${CMAKE_INSTALL_PREFIX}/${BIN_INSTALL_DIR}${MSVCARCH_DIR_EXTENSION}\")"
CODE "execute_process(COMMAND bash -c \"if [[ -h ${PROJECT_NAME} ]]; then rm ${PROJECT_NAME}; fi; ln -s $<TARGET_FILE_NAME:${PROJECT_NAME}> ${PROJECT_NAME}\" WORKING_DIRECTORY \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${BIN_INSTALL_DIR}${MSVCARCH_DIR_EXTENSION}\")"
COMPONENT discovery)
endif()

0 comments on commit 20c8849

Please sign in to comment.