From 1ad0fbdb766834a36d0779502440f68151090794 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Mon, 6 Jul 2020 15:04:46 -0700 Subject: [PATCH] Revert "fix compilation of zt_service_tests on Windows" This reverts commit 8f1e6a2fdeb4f2dd0b81d876bdc70695c092d906. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bea983d78..a600be559 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -265,7 +265,7 @@ if(NOT PACKAGE_STATIC) zt_service_tests ALL BYPRODUCTS ${CMAKE_BINARY_DIR}/zt_service_tests SOURCES ${go_src} - COMMAND ${CMAKE_COMMAND} -E env ${GOARCH} ${GOARM} CGO_ENABLED=1 CGO_CFLAGS=\"-O3\" CGO_LDFLAGS=\"$ $ $ $ ${GO_EXTRA_LIBRARIES}\" ${GO} build -mod=vendor ${GOFLAGS} -o ${CMAKE_BINARY_DIR}/zt_service_tests ${CMAKE_SOURCE_DIR}/cmd/zt_service_tests/zt_service_tests.go + COMMAND ${CMAKE_COMMAND} -E env ${GOARCH} ${GOARM} CGO_ENABLED=1 CGO_CFLAGS=\"-O3\" CGO_LDFLAGS=\"$ $ $ $ ${GO_EXTRA_LIBRARIES}\" ${GO} build -mod=vendor ${GOFLAGS} -o ${CMAKE_BINARY_DIR}/zt_service_tests ${CMAKE_SOURCE_DIR}/cmd/zt_service_tests/*.go COMMENT "Compiling zt_service_tests (Go/cgo self-tests)..." ) add_dependencies(zt_service_tests zt_osdep zt_core zt_controller zt_service_io_core)