Run of fresh-snapshots for ensmallen

Try this locally (using silver-platter):

debian-svp new-upstream --snapshot ensmallen 

Merge these changes:

git pull https://janitor.debian.net/git/ensmallen fresh-snapshots/main

Summary

Merged new upstream version: 2.12.1+git20200506.70a2be8 (was: 2.12.1).

Diff

diff --git a/CMake/ensmallen-config.cmake.in b/CMake/ensmallen-config.cmake.in
index 777b5d3..3a9a93c 100644
--- a/CMake/ensmallen-config.cmake.in
+++ b/CMake/ensmallen-config.cmake.in
@@ -1,4 +1,4 @@
 @PACKAGE_INIT@
 
-include(${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake)
+include(${CMAKE_CURRENT_LIST_DIR}/@TARGETS_EXPORT_NAME@.cmake)
 check_required_components(ensmallen)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ed267fe..a47eca9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -38,9 +38,9 @@ target_include_directories(ensmallen INTERFACE
 
 # Set warning flags for target.
 if(MSVC)
-  target_compile_options(ensmallen INTERFACE /Wall )
+  target_compile_options(ensmallen INTERFACE $<BUILD_INTERFACE:/Wall>)
 else()
-  target_compile_options(ensmallen INTERFACE -Wall -Wpedantic -Wunused-parameter)
+  target_compile_options(ensmallen INTERFACE $<BUILD_INTERFACE:-Wall -Wpedantic -Wunused-parameter>)
 endif()
 
 # Find OpenMP and link it.
diff --git a/HISTORY.md b/HISTORY.md
index 8927d88..45a1931 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -1,3 +1,8 @@
+### ensmallen ?.??.?: "???"
+###### ????-??-??
+ * Fix CMake package export
+    ([#198](https://github.com/mlpack/ensmallen/pull/198)).
+
 ### ensmallen 2.12.1: "Stir Crazy"
 ###### 2020-04-20
  * Fix total number of epochs and time estimation for ProgressBar callback
diff --git a/debian/changelog b/debian/changelog
index e252e31..f0758aa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ensmallen (2.12.1+git20200506.70a2be8-1) UNRELEASED; urgency=medium
+
+  * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 03 Jun 2020 01:16:10 +0000
+
 ensmallen (2.12.1-1) unstable; urgency=medium
 
   * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,

Full worker log Full build log