Skip to content

Commit

Permalink
Move csv.hpp to contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
hugary1995 committed Jun 23, 2024
1 parent abb2858 commit 84a866a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion include/neml2/base/Sequence.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <string>

#include "neml2/misc/parser_utils.h"
#include "neml2/contrib/csv.hpp"
#include "csvparser/csv.hpp"

namespace neml2
{
Expand Down
3 changes: 2 additions & 1 deletion src/neml2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ register_unity_group(neml2 .)

# NEML2 headers
file(GLOB_RECURSE _NEML2_HEADERS ${NEML2_SOURCE_DIR}/include/*.h)
target_include_directories(neml2 PUBLIC ${NEML2_SOURCE_DIR}/include ${NEML2_BINARY_DIR}/include)
target_include_directories(neml2 PUBLIC ${NEML2_SOURCE_DIR}/include ${NEML2_SOURCE_DIR}/contrib)
target_sources(neml2
PUBLIC
FILE_SET HEADERS
Expand All @@ -43,6 +43,7 @@ target_sources(neml2
${_NEML2_HEADERS}
)
install(TARGETS neml2 COMPONENT Development FILE_SET HEADERS)
install(DIRECTORY ${NEML2_SOURCE_DIR}/contrib/csvparser TYPE INCLUDE)

# torch
target_include_directories(neml2 SYSTEM PUBLIC ${Torch_INCLUDE_DIRECTORIES})
Expand Down

0 comments on commit 84a866a

Please sign in to comment.