Skip to content

Commit

Permalink
Prevent null variables during a clean build
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Chang <[email protected]>
  • Loading branch information
mocsharp committed Aug 20, 2024
1 parent 153bdfd commit 21cb7f1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions applications/endoscopy_tool_tracking/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ endif()
# Install application and dependencies into the install/ directory for packaging
install(
TARGETS endoscopy_tool_tracking
DESTINATION "${CMAKE_SOURCE_DIR}/install/endoscopy_tool_tracking_cpp"
DESTINATION endoscopy_tool_tracking_cpp
COMPONENT "holohub-apps"
)

Expand All @@ -170,14 +170,14 @@ install(
)

install(
DIRECTORY ${gxf_lstm_tensor_rt_inference_BINARY_DIR}/
DIRECTORY ${CMAKE_BINARY_DIR}/gxf_extensions/lstm_tensor_rt_inference/
DESTINATION endoscopy_tool_tracking_cpp
FILES_MATCHING PATTERN "*.so"
PATTERN "CMakeFiles" EXCLUDE)

install(
FILES
${lstm_tensor_rt_inference_BINARY_DIR}/liblstm_tensor_rt_inference.so
${tool_tracking_postprocessor_BINARY_DIR}/libtool_tracking_postprocessor.so
${CMAKE_BINARY_DIR}/operators/lstm_tensor_rt_inference/liblstm_tensor_rt_inference.so
${CMAKE_BINARY_DIR}/operators/tool_tracking_postprocessor/libtool_tracking_postprocessor.so
DESTINATION endoscopy_tool_tracking_cpp
COMPONENT "holohub-apps")
12 changes: 6 additions & 6 deletions applications/endoscopy_tool_tracking/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ endif()
# Install application and dependencies into the install/ directory for packaging
install(
FILES endoscopy_tool_tracking.py
DESTINATION "endoscopy_tool_tracking_python"
DESTINATION endoscopy_tool_tracking_python
COMPONENT "holohub-apps"
)

Expand All @@ -82,20 +82,20 @@ install(
)

install(
DIRECTORY ${gxf_lstm_tensor_rt_inference_BINARY_DIR}/
DIRECTORY ${CMAKE_BINARY_DIR}/gxf_extensions/lstm_tensor_rt_inference/
DESTINATION endoscopy_tool_tracking_python
FILES_MATCHING PATTERN "*.so"
PATTERN "CMakeFiles" EXCLUDE
)

install(
FILES
${lstm_tensor_rt_inference_BINARY_DIR}/liblstm_tensor_rt_inference.so
${tool_tracking_postprocessor_BINARY_DIR}/libtool_tracking_postprocessor.so
DESTINATION "endoscopy_tool_tracking_python"
${CMAKE_BINARY_DIR}/operators/lstm_tensor_rt_inference/liblstm_tensor_rt_inference.so
${CMAKE_BINARY_DIR}/operators/tool_tracking_postprocessor/libtool_tracking_postprocessor.so
DESTINATION endoscopy_tool_tracking_python
COMPONENT "holohub-apps"
)

install(
DIRECTORY ${Holohub-internal_BINARY_DIR}/python/lib/holohub
DIRECTORY ${CMAKE_BINARY_DIR}/python/lib/holohub
DESTINATION endoscopy_tool_tracking_python)
4 changes: 2 additions & 2 deletions applications/object_detection_torch/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,13 @@ endif()
# Install application and dependencies into the install/ directory for packaging
install(
TARGETS object_detection_torch
DESTINATION "${CMAKE_SOURCE_DIR}/install/object_detection_torch"
DESTINATION object_detection_torch
COMPONENT "holohub-apps"
)

install(
FILES
"${object_detection_torch_BINARY_DIR}/object_detection_torch.yaml"
DESTINATION "${CMAKE_SOURCE_DIR}/install/object_detection_torch"
DESTINATION object_detection_torch
COMPONENT "holohub-apps"
)

0 comments on commit 21cb7f1

Please sign in to comment.