Skip to content

Commit

Permalink
Change windows file names (#4576)
Browse files Browse the repository at this point in the history
* Refs #20390: Change fastdds-config.cmake name

Signed-off-by: elianalf <[email protected]>

* Refs #20390: Change fastdds.manifest.in name

Signed-off-by: elianalf <[email protected]>

---------

Signed-off-by: elianalf <[email protected]>
  • Loading branch information
elianalf authored and EduPonz committed Mar 21, 2024
1 parent 741c46f commit 30d4fcd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -521,12 +521,12 @@ if(MSVC OR MSVC_IDE)

# replace the values in the manifest template
configure_file(
"${PROJECT_SOURCE_DIR}/cmake/packaging/windows/fastrtps.manifest.in"
"${PROJECT_BINARY_DIR}/fastrtps.manifest"
"${PROJECT_SOURCE_DIR}/cmake/packaging/windows/fastdds.manifest.in"
"${PROJECT_BINARY_DIR}/fastdds.manifest"
@ONLY
)

file(TO_NATIVE_PATH "${PROJECT_BINARY_DIR}/fastrtps.manifest" MANIFEST_FILE_PATH)
file(TO_NATIVE_PATH "${PROJECT_BINARY_DIR}/fastdds.manifest" MANIFEST_FILE_PATH)
target_link_options(${PROJECT_NAME} PRIVATE "/MANIFEST:EMBED" "/MANIFESTINPUT:${MANIFEST_FILE_PATH}")

unset(WINDOWS_SOURCE_DIR)
Expand Down

0 comments on commit 30d4fcd

Please sign in to comment.