Skip to content
Snippets Groups Projects
Commit de51c250 authored by Dan Guest's avatar Dan Guest
Browse files

Fixes to CMake (Attila requests)

parent 705459fc
No related branches found
No related tags found
No related merge requests found
...@@ -6,12 +6,14 @@ atlas_subdir( LwtnnUtils ) ...@@ -6,12 +6,14 @@ atlas_subdir( LwtnnUtils )
# External dependencies: # External dependencies:
find_package( lwtnn ) find_package( lwtnn )
find_package( Eigen )
# Build a shared library: # Build a shared library:
atlas_add_library( LwtnnUtils atlas_add_library( LwtnnUtils
LwtnnUtils/*.h # <-- for Xcode, not needed otherwise
src/FastGraph.cxx src/FastGraph.cxx
src/FastInputPreprocessor.cxx src/FastInputPreprocessor.cxx
PUBLIC_HEADERS LwtnnUtils PUBLIC_HEADERS LwtnnUtils
INCLUDE_DIRS ${LWTNN_INCLUDE_DIRS} INCLUDE_DIRS ${LWTNN_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS}
LINK_LIBRARIES ${LWTNN_LIBRARIES} ) LINK_LIBRARIES ${LWTNN_LIBRARIES} ${EIGEN_LIBRARIES} )
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
// //
// [1]: https::www.github.com/lwtnn/lwtnn // [1]: https::www.github.com/lwtnn/lwtnn
#ifndef FAST_GRAPH_H #ifndef LWTNN_UTILS_FAST_GRAPH_H
#define FAST_GRAPH_H #define LWTNN_UTILS_FAST_GRAPH_H
#include "lwtnn/lightweight_network_config.hh" #include "lwtnn/lightweight_network_config.hh"
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
// [1]: https::www.github.com/lwtnn/lwtnn // [1]: https::www.github.com/lwtnn/lwtnn
#ifndef FAST_INPUT_PREPROCESSOR_HH #ifndef LWTNN_UTILS_FAST_INPUT_PREPROCESSOR_H
#define FAST_INPUT_PREPROCESSOR_HH #define LWTNN_UTILS_FAST_INPUT_PREPROCESSOR_H
#include "lwtnn/lightweight_network_config.hh" #include "lwtnn/lightweight_network_config.hh"
#include "lwtnn/Exceptions.hh" #include "lwtnn/Exceptions.hh"
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
// //
// [1]: https::www.github.com/lwtnn/lwtnn // [1]: https::www.github.com/lwtnn/lwtnn
#ifndef INPUT_ORDER_H #ifndef LWTNN_UTILS_INPUT_ORDER_H
#define INPUT_ORDER_H #define LWTNN_UTILS_INPUT_ORDER_H
#include <vector> #include <vector>
#include <string> #include <string>
...@@ -33,4 +33,4 @@ namespace lwt::atlas { ...@@ -33,4 +33,4 @@ namespace lwt::atlas {
} }
#endif // INPUT_ORDER_HH #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment