Skip to content

Commit

Permalink
expand path to include LAMMPS shared lib
Browse files Browse the repository at this point in the history
  • Loading branch information
akohlmey committed Jan 27, 2022
1 parent 0bf9412 commit cd8b674
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions unittest/utils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,8 @@ add_test(FmtLib test_fmtlib)
add_executable(test_math_eigen_impl test_math_eigen_impl.cpp)
target_include_directories(test_math_eigen_impl PRIVATE ${LAMMPS_SOURCE_DIR})
add_test(MathEigen test_math_eigen_impl 10 5)

if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
set_tests_properties(Tokenizer MemPool ArgUtils Utils Platform FmtLib MathEigen PROPERTIES
ENVIRONMENT "PATH=${CMAKE_BINARY_DIR}:$ENV{PATH}")
endif()

0 comments on commit cd8b674

Please sign in to comment.