Skip to content

Commit 77cc27d

Browse files
committed
fatal-error -> warning if realsense2-all cannot be targeted
1 parent a0ca670 commit 77cc27d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/realsense2-all.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ function( bundle_static_library target_name bundle_name )
104104
VERBATIM )
105105

106106
else()
107-
message( FATAL_ERROR "Unknown bundle scenario!" )
107+
message( WARNING "Unknown compiler setup; realsense2-all will not be available" )
108+
return()
108109
endif()
109110

110111
add_custom_target( ${bundle_name} ALL DEPENDS ${bundle_path} )

0 commit comments

Comments
 (0)