From bef599da47d0197c0b607f15a8d1e116b15cacc1 Mon Sep 17 00:00:00 2001 From: Louise Poubel Date: Thu, 6 Jan 2022 16:27:26 -0800 Subject: [PATCH] Add project() to examples (#322) Signed-off-by: Louise Poubel --- examples/hello_world_loader/CMakeLists.txt | 2 ++ examples/hello_world_plugin/CMakeLists.txt | 2 ++ examples/simple_plugin/CMakeLists.txt | 2 ++ 3 files changed, 6 insertions(+) diff --git a/examples/hello_world_loader/CMakeLists.txt b/examples/hello_world_loader/CMakeLists.txt index e4564acbd..06cc8aa49 100644 --- a/examples/hello_world_loader/CMakeLists.txt +++ b/examples/hello_world_loader/CMakeLists.txt @@ -1,5 +1,7 @@ cmake_minimum_required(VERSION 3.5 FATAL_ERROR) +project(ign-physics-hello-world-loader) + set(IGN_PLUGIN_VER 1) find_package(ignition-plugin${IGN_PLUGIN_VER} 1.1 REQUIRED COMPONENTS all) diff --git a/examples/hello_world_plugin/CMakeLists.txt b/examples/hello_world_plugin/CMakeLists.txt index 08521c4e3..26150b73f 100644 --- a/examples/hello_world_plugin/CMakeLists.txt +++ b/examples/hello_world_plugin/CMakeLists.txt @@ -1,5 +1,7 @@ cmake_minimum_required(VERSION 3.5 FATAL_ERROR) +project(ign-physics-hello-world-plugin) + set(IGN_PLUGIN_VER 1) find_package(ignition-plugin${IGN_PLUGIN_VER} 1.1 REQUIRED COMPONENTS all) diff --git a/examples/simple_plugin/CMakeLists.txt b/examples/simple_plugin/CMakeLists.txt index 0eb1b1d52..dde3613a0 100644 --- a/examples/simple_plugin/CMakeLists.txt +++ b/examples/simple_plugin/CMakeLists.txt @@ -1,5 +1,7 @@ cmake_minimum_required(VERSION 3.5 FATAL_ERROR) +project(ign-physics-simple-plugin) + set(IGN_PLUGIN_VER 1) find_package(ignition-plugin${IGN_PLUGIN_VER} 1.1 REQUIRED COMPONENTS all)