From 5577b19f6e06fe2e2bb55631fd060c81e9e8ad71 Mon Sep 17 00:00:00 2001 From: "Addisu Z. Taddese" Date: Wed, 13 Sep 2023 16:42:21 -0500 Subject: [PATCH] Fix CMake warning in example (#2145) 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}