We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bcd28c commit 24231d4Copy full SHA for 24231d4
CMakeLists.txt
@@ -1147,7 +1147,13 @@ include(CMakePackageConfigHelpers)
1147
1148
# Add additional targets to export group
1149
if(NOT BUILD_SHARED_LIBS)
1150
- list(APPEND targets_to_export ${DEPTHAI_RESOURCE_LIBRARY_NAME} cmrc-base foxglove_websocket messages XLink)
+ list(APPEND targets_to_export ${DEPTHAI_RESOURCE_LIBRARY_NAME} cmrc-base XLink)
1151
+ if(DEPTHAI_ENABLE_PROTOBUF)
1152
+ list(APPEND targets_to_export messages)
1153
+ endif()
1154
+ if(DEPTHAI_ENABLE_REMOTE_CONNECTION)
1155
+ list(APPEND targets_to_export foxglove_websocket)
1156
1157
endif()
1158
1159
# Export targets (capability to import current build directory)
0 commit comments