From 8b2fd2efc6a6a31055f6dd3adc667a5ca8822142 Mon Sep 17 00:00:00 2001 From: methylDragon Date: Fri, 6 May 2022 13:26:39 -0700 Subject: [PATCH] Migrate CMake files Signed-off-by: methylDragon --- CMakeLists.txt | 4 +++- include/CMakeLists.txt | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 064598270..86da572d2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,9 @@ find_package(ignition-cmake3 REQUIRED) #============================================================================ # Configure the project #============================================================================ -ign_configure_project(VERSION_SUFFIX pre1) +ign_configure_project( + REPLACE_IGNITION_INCLUDE_PATH gz/physics + VERSION_SUFFIX pre1) #============================================================================ # Set project-specific options diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt index 54ca556c0..4b2bdd7bb 100644 --- a/include/CMakeLists.txt +++ b/include/CMakeLists.txt @@ -1 +1,2 @@ -add_subdirectory(ignition/physics) +add_subdirectory(gz) +install(DIRECTORY ignition DESTINATION ${IGN_INCLUDE_INSTALL_DIR_FULL})