Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit ffb5848

Browse files
authored
Fix lfp test when running from NEURON (#499)
1 parent b234502 commit ffb5848

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/lfp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ endif()
2323

2424
add_dependencies(lfp_test_bin nrniv-core)
2525

26-
add_test(NAME lfp_test COMMAND ${TEST_EXEC_PREFIX} ${CMAKE_CURRENT_BINARY_DIR}/lfp_test_bin)
26+
add_test(NAME lfp_test COMMAND ${TEST_EXEC_PREFIX} $<TARGET_FILE:lfp_test_bin>)

0 commit comments

Comments
 (0)