From e0307e55557a8cc0fa10afdcf5ce223f822b13d8 Mon Sep 17 00:00:00 2001 From: Daniel Girardeau-Montaut Date: Fri, 30 Oct 2020 19:20:14 +0100 Subject: [PATCH] Fix plugin name as well --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 02eb614..18d7b62 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,10 +1,10 @@ # CloudCompare Json RPC plugin based on example for standard plugins # Add an option to CMake to control whether we build this plugin or not -option( PLUGIN_JSONRPC "Install Json RPC plugin" ON ) +option( PLUGIN_STANDARD_QJSONRPC "Install Json RPC plugin" ON ) -if ( PLUGIN_JSONRPC ) - project( JsonRPCPlugin ) +if ( PLUGIN_STANDARD_QJSONRPC ) + project( QJSON_RPC_PLUGIN ) AddPlugin( NAME ${PROJECT_NAME} )