diff --git a/CMakeLists.txt b/CMakeLists.txt index c9588a69452db72c524d191a3990f27aee8fed25..8ef8be3059df5935b63f0f2fc649687a5796a967 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