From cd8b674f4b1a5495fa8db458398db1c417a53cc6 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Thu, 27 Jan 2022 17:46:18 -0500 Subject: [PATCH] expand path to include LAMMPS shared lib --- unittest/utils/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/unittest/utils/CMakeLists.txt b/unittest/utils/CMakeLists.txt index 28486048c4..6a3a2efc8e 100644 --- a/unittest/utils/CMakeLists.txt +++ b/unittest/utils/CMakeLists.txt @@ -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()