Skip to content

Commit

Permalink
iox-eclipse-iceoryx#2099 Exclude Windows when building the introspection
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Hoinkis <[email protected]>
  • Loading branch information
mossmaurice committed Nov 17, 2023
1 parent 2bd0541 commit 4f3d507
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tools/introspection/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ set(IOX_VERSION_STRING "2.0.3")

project(iceoryx_introspection VERSION ${IOX_VERSION_STRING})

# Do not build the introspection on Windows due to missing ncurses
if(WIN32)
message(STATUS "The introspection client is not supported on Windows")
return()
endif()

find_package(iceoryx_hoofs REQUIRED)
find_package(iceoryx_posh REQUIRED)

Expand Down Expand Up @@ -88,8 +94,6 @@ target_compile_options(iceoryx_introspection PRIVATE ${ICEORYX_WARNINGS} ${ICEOR

if(LINUX)
set(LIB_TINFO tinfo)
elseif(WIN32)
message(WARNING "Introspection not supported for windows." )
else()
set(LIB_TINFO "")
endif()
Expand Down

0 comments on commit 4f3d507

Please sign in to comment.