Merge pull request #634 from xantares/fix-mlpack_export-include

Fix mlpack_export.h include
This commit is contained in:
Ryan Curtin
2016-05-02 15:37:51 -04:00
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
include_directories(..) # <mlpack/[whatever]>
include_directories(${CMAKE_CURRENT_BINARY_DIR}) # mlpack_export.h
include_directories(${CMAKE_CURRENT_BINARY_DIR}/..) # mlpack/mlpack_export.h
# Add core.hpp to list of sources.
set(MLPACK_SRCS ${MLPACK_SRCS} "${CMAKE_CURRENT_SOURCE_DIR}/core.hpp")
+1 -1
View File
@@ -4,7 +4,7 @@
* Declarations of global random number generators.
*/
#include <random>
#include <mlpack_export.h>
#include <mlpack/mlpack_export.h>
namespace mlpack {
namespace math {
+1 -1
View File
@@ -7,7 +7,7 @@
#define MLPACK_CORE_MATH_RANDOM_HPP
#include <mlpack/prereqs.hpp>
#include <mlpack_export.h>
#include <mlpack/mlpack_export.h>
#include <random>
namespace mlpack {
+1 -1
View File
@@ -8,7 +8,7 @@
#define MLPACK_CORE_UTIL_LOG_HPP
#include <string>
#include <mlpack_export.h>
#include <mlpack/mlpack_export.h>
#include "prefixedoutstream.hpp"
#include "nulloutstream.hpp"