fix(tests/shared/CMakeFiles): make sure the working directory is the one containing the DLL
This commit is contained in:
parent
5f8b600024
commit
8c4e5c82ab
1 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
add_executable(shared_test shared.cpp)
|
||||
target_link_libraries(shared_test ${EXTRA_LIBS} leanshared)
|
||||
add_test(shared_test "${CMAKE_CURRENT_BINARY_DIR}/shared_test")
|
||||
add_test(NAME shared_test
|
||||
WORKING_DIRECTORY "${LEAN_BINARY_DIR}"
|
||||
COMMAND "${CMAKE_CURRENT_BINARY_DIR}/shared_test")
|
||||
|
|
Loading…
Reference in a new issue