From 3899bf8a7a09b5c6d0b67d717a956f91611a543a Mon Sep 17 00:00:00 2001 From: David Tiede <david.tiede@mailbox.tu-dresden.de> Date: Tue, 20 Apr 2021 12:50:53 +0200 Subject: [PATCH] CMake Update target properties --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c9588a6..8ef8be3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -139,7 +139,7 @@ add_executable(IntroPackage src/IntroPackage.cpp) ## The above recommended prefix causes long target names, the following renames the ## target back to the shorter version for ease of user use ## e.g. "rosrun someones_pkg node" instead of "rosrun someones_pkg someones_pkg_node" -# set_target_properties(${PROJECT_NAME}_intro_package PROPERTIES OUTPUT_NAME intro_package PREFIX "") +set_target_properties(IntroPackage PROPERTIES OUTPUT_NAME intro_package PREFIX "") ## Add cmake target dependencies of the executable ## same as for the library above -- GitLab