fix definition of host resources for yolint
@@ -2,17 +2,22 @@ RESOURCES_LIBRARY()
-IF (HOST_OS_LINUX)
- DECLARE_EXTERNAL_RESOURCE(YOLINT sbr:1450287933)
- DECLARE_EXTERNAL_RESOURCE(YOLINT_NEXT sbr:1450287933)
-ELSEIF (HOST_OS_DARWIN)
- DECLARE_EXTERNAL_RESOURCE(YOLINT sbr:1450287607)
- DECLARE_EXTERNAL_RESOURCE(YOLINT_NEXT sbr:1450287607)
-ELSEIF (HOST_OS_WINDOWS)
- DECLARE_EXTERNAL_RESOURCE(YOLINT sbr:1450287776)
- DECLARE_EXTERNAL_RESOURCE(YOLINT_NEXT sbr:1450287776)
-ELSE()
- MESSAGE(FATAL_ERROR Unsupported host platform)
+IF (NOT HOST_OS_DARWIN AND NOT HOST_OS_LINUX AND NOT HOST_OS_WINDOWS)
+ MESSAGE(FATAL_ERROR Unsupported host platform for yolint)
ENDIF()
+DECLARE_EXTERNAL_HOST_RESOURCES_BUNDLE(
+ YOLINT
+ sbr:1450287607 FOR DARWIN
+ sbr:1450287933 FOR LINUX
+ sbr:1450287776 FOR WIN32
+)
+
+DECLARE_EXTERNAL_HOST_RESOURCES_BUNDLE(
+ YOLINT_NEXT
+ sbr:1450287607 FOR DARWIN
+ sbr:1450287933 FOR LINUX
+ sbr:1450287776 FOR WIN32
+)
+
END()
