Skip to content

Commit

Permalink
Merge pull request #10 from eclipse-iceoryx/iox-dds-make-gateway-comp…
Browse files Browse the repository at this point in the history
…ile-without-tests

Make gateway compile without tests
  • Loading branch information
elBoberido authored Jan 3, 2025
2 parents a4a9a96 + b02b021 commit 895cb90
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ if(NOT iceoryx_hoofs_FOUND OR NOT iceoryx_posh_FOUND OR NOT iceoryx_dust_FOUND)
endif()

if(ICEORYX_WITH_FETCH_CONTENT)
# we do not need to build the examples
set(EXAMPLES OFF)

add_subdirectory(${iceoryx_SOURCE_DIR}/iceoryx_hoofs ${iceoryx_BINARY_DIR}/iceoryx_hoofs)
add_subdirectory(${iceoryx_SOURCE_DIR}/iceoryx_dust ${iceoryx_BINARY_DIR}/iceoryx_dust)
add_subdirectory(${iceoryx_SOURCE_DIR}/iceoryx_posh ${iceoryx_BINARY_DIR}/iceoryx_posh)
Expand Down Expand Up @@ -227,7 +230,9 @@ iox_add_executable(
#
########## build test executables ##########
#
add_subdirectory(test)
if(BUILD_TEST)
add_subdirectory(test)
endif()

if(ICEORYX_WITH_FETCH_CONTENT)
message("
Expand Down

0 comments on commit 895cb90

Please sign in to comment.