fix(tests/shared/CMakeFiles): make sure the working directory is the one containing the DLL

This commit is contained in:
Leonardo de Moura 2015-08-13 12:25:23 -07:00
parent 5f8b600024
commit 8c4e5c82ab

View file

@ -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")