Skip to content

Commit

Permalink
Merge pull request #3 from mir-group/david/development
Browse files Browse the repository at this point in the history
Minor changes for compiling on Ubuntu
  • Loading branch information
dmclark17 authored Feb 20, 2020
2 parents cf08afd + fa6e448 commit 638d9de
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 8 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ endif()

set(CMAKE_CXX_FLAGS_RELEASE "-O3")

find_package(Eigen3)
find_package(Eigen3 REQUIRED)
INCLUDE_DIRECTORIES ("${EIGEN3_INCLUDE_DIR}")

set(ACE_ROOT_DIR $ENV{ACE})
Expand All @@ -27,7 +27,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)

# add subdirectories
add_subdirectory(src)
add_subdirectory(test)
add_subdirectory(tests)
add_subdirectory(timing)
add_subdirectory(pybind11)
add_subdirectory(googletest)
Expand Down
6 changes: 6 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## ACE

# Usage

- Clone with recursive
- Set ACE environment variable
6 changes: 0 additions & 6 deletions test/CMakeLists.txt

This file was deleted.

6 changes: 6 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# make executable
add_executable(tests test_main.cpp test_y_grad.cpp test_radial.cpp
test_structure.cpp test_local_environment.cpp test_bond_env.cpp
test_descriptor.cpp test_kernels.cpp test_sparse_gp.cpp)
target_include_directories(tests PUBLIC ${ACE_INCLUDE_DIR})
target_link_libraries(tests PUBLIC gtest gtest_main Ace)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 638d9de

Please sign in to comment.