diff --git a/tests/dCommonTests/CMakeLists.txt b/tests/dCommonTests/CMakeLists.txt index db91d7ab..0d7e4436 100644 --- a/tests/dCommonTests/CMakeLists.txt +++ b/tests/dCommonTests/CMakeLists.txt @@ -20,6 +20,9 @@ add_executable(dCommonTests ${DCOMMONTEST_SOURCES}) add_dependencies(dCommonTests conncpp_tests) if(APPLE) +add_custom_command(TARGET dCommonTests POST_BUILD + COMMAND otool ARGS -l dCommonTests + WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}) add_custom_command(TARGET dCommonTests POST_BUILD COMMAND otool ARGS -L dCommonTests WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})