Skip to content

Commit

Permalink
Add Glob to CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
fiona-gladwin committed Apr 4, 2024
1 parent f96a92b commit 47263d9
Showing 1 changed file with 4 additions and 23 deletions.
27 changes: 4 additions & 23 deletions rocAL/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -225,29 +225,10 @@ if(${BUILD_ROCAL})
set(CMAKE_CXX_STANDARD 17)
message("-- ${Green}ROCm Augmentation Library -- rocAL dependencies found${ColourReset}")

include_directories(
${CMAKE_CURRENT_BINARY_DIR}
include/api/
include/augmentations/
include/augmentations/color_augmentations/
include/augmentations/effects_augmentations/
include/augmentations/geometry_augmentations/
include/augmentations/audio_augmentations/
include/decoders/image/
include/decoders/video/
include/decoders/audio/
include/decoders/libjpeg/
include/device/
include/loaders/
include/loaders/image/
include/loaders/video/
include/loaders/audio/
include/meta_data/
include/parameters/
include/pipeline/
include/readers/image/
include/readers/video/
)
file(GLOB_RECURSE ROCAL_INCLUDE_DIRS LIST_DIRECTORIES true "include/*")
list(FILTER ROCAL_INCLUDE_DIRS EXCLUDE REGEX "\\.(h|hpp)$")
include_directories(${CMAKE_CURRENT_BINARY_DIR}
${ROCAL_INCLUDE_DIRS})

link_directories(${ROCM_PATH}/${CMAKE_INSTALL_LIBDIR})

Expand Down

0 comments on commit 47263d9

Please sign in to comment.