Merge pull request #634 from xantares/fix-mlpack_export-include
Fix mlpack_export.h include
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user