vcpkg/ports/mlpack/fix-configure-error.patch
Jack·Boos·Yu c99dc50be9
[vcpkg baseline][many ports] Fix build error (#17983)
* [vcpkg baseline][wxwidgets] Fix build error

* [mlpack] Fix configure error (upstream bug)

* [vcpkg baseline] [embree2/embree3] Set cmake policy

* Remove control file

* Update baseline version

* [mlpack] Re-write the dependency

* [mlpack] Remove dependency boost-test since only feature test need it, add more boost dependencies.

* [mlpack] Add dependency boost-heap

* [mlpack] Fix uwp build

* update version record

* [mlpack] Revert uwp fix

* update version record

* [mlpack] Remove dependency boost-test

* update version record

* update baseline

* [clamav] Update hash

* update version record

Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
2021-05-19 14:05:43 -07:00

16 lines
532 B
Diff

diff --git a/CMake/go/AppendModel.cmake b/CMake/go/AppendModel.cmake
index eeb28f7..ec50f15 100644
--- a/CMake/go/AppendModel.cmake
+++ b/CMake/go/AppendModel.cmake
@@ -44,8 +44,8 @@ function(append_model SERIALIZATION_FILE PROGRAM_MAIN_FILE)
else ()
string(APPEND GOMODEL_SAFE_TYPE ${MODEL_CHAR})
endif()
- endif()
- endforeach()
+ endforeach()
+ endif()
# See if the model type already exists.
file(READ "${SERIALIZATION_FILE}" SERIALIZATION_FILE_CONTENTS)