From 8c7192135abf82b92aca2bdc8336e57fd8800b1a Mon Sep 17 00:00:00 2001 From: Johnson Shih Date: Fri, 14 Sep 2018 13:51:49 -0700 Subject: [PATCH] Set the test dll runtime output to CATKIN_PACKAGE_BIN_DESTINATION to match default --- pluginlib/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pluginlib/CMakeLists.txt b/pluginlib/CMakeLists.txt index 99542532..98e433a8 100644 --- a/pluginlib/CMakeLists.txt +++ b/pluginlib/CMakeLists.txt @@ -18,8 +18,8 @@ if(CATKIN_ENABLE_TESTING) target_link_libraries(test_plugins ${class_loader_LIBRARIES}) if(WIN32) # On Windows, default library runtime output set to CATKIN_GLOBAL_BIN_DESTINATION, - # change it back to CATKIN_PACKAGE_LIB_DESTINATION to match the library path described in plugin description file - set_target_properties(test_plugins PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CATKIN_DEVEL_PREFIX}/${CATKIN_PACKAGE_LIB_DESTINATION}) + # change it back to CATKIN_PACKAGE_BIN_DESTINATION to match the library path described in plugin description file + set_target_properties(test_plugins PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CATKIN_DEVEL_PREFIX}/${CATKIN_PACKAGE_BIN_DESTINATION}) endif() catkin_add_gtest(${PROJECT_NAME}_utest test/utest.cpp)