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} )