diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index a2e195c35..af99d23b8 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -33,7 +33,7 @@ install( ) if(WITH_HOOKS) - add_library(example_hook MODULE hooks/example_hook.c) + add_library(example_hook MODULE hooks/example_hook.cpp) install( TARGETS example_hook COMPONENT plugins diff --git a/plugins/hooks/example_hook.c b/plugins/hooks/example_hook.cpp similarity index 100% rename from plugins/hooks/example_hook.c rename to plugins/hooks/example_hook.cpp