go 1.12 toolchain
@@ -12,6 +12,16 @@ IF (GOSTD_VERSION STREQUAL 1.11.4)
ELSE()
MESSAGE(FATAL_ERROR Unsupported host platform)
ENDIF()
+ELSEIF(GOSTD_VERSION STREQUAL 1.12)
+ IF (HOST_OS_LINUX)
+ DECLARE_EXTERNAL_RESOURCE(GO_TOOLS sbr:855111520)
+ ELSEIF (HOST_OS_DARWIN)
+ DECLARE_EXTERNAL_RESOURCE(GO_TOOLS sbr:855115713)
+ ELSEIF (HOST_OS_WINDOWS)
+ DECLARE_EXTERNAL_RESOURCE(GO_TOOLS sbr:855118129)
+ ELSE()
+ MESSAGE(FATAL_ERROR Unsupported host platform)
+ ENDIF()
ELSE()
MESSAGE(FATAL_ERROR Unsupported version [$GOSTD] of Go Standard Library)
ENDIF()
