From d1dbb42ad0b0e61167dcff38126d3bb34737c5af Mon Sep 17 00:00:00 2001 From: "Addisu Z. Taddese" Date: Wed, 13 Sep 2023 14:54:06 -0500 Subject: [PATCH] Fix CMake warning in example Signed-off-by: Addisu Z. Taddese --- examples/plugin/hello_world/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/plugin/hello_world/CMakeLists.txt b/examples/plugin/hello_world/CMakeLists.txt index ba90eedfff..135d6288ce 100644 --- a/examples/plugin/hello_world/CMakeLists.txt +++ b/examples/plugin/hello_world/CMakeLists.txt @@ -10,7 +10,7 @@ set(GZ_PLUGIN_VER ${gz-plugin2_VERSION_MAJOR}) gz_find_package(gz-sim8 REQUIRED) set(GZ_SIM_VER ${gz-sim8_VERSION_MAJOR}) -add_library(HelloWorld SHARED HelloWorld) +add_library(HelloWorld SHARED HelloWorld.cc) set_property(TARGET HelloWorld PROPERTY CXX_STANDARD 17) target_link_libraries(HelloWorld PRIVATE gz-plugin${GZ_PLUGIN_VER}::gz-plugin${GZ_PLUGIN_VER}