From fa3c59516062129ba8e9079a50a675a79887c633 Mon Sep 17 00:00:00 2001 From: Giulio Romualdi Date: Thu, 14 May 2020 15:00:13 +0200 Subject: [PATCH] Pass the namespace as input of the install_basic_package_files function --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 55b98c8..cb7d709 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -119,6 +119,7 @@ install(TARGETS ${LIBRARY_TARGET_NAME} include(InstallBasicPackageFiles) install_basic_package_files(${PROJECT_NAME} + NAMESPACE OsqpEigen:: VERSION ${${PROJECT_NAME}_VERSION} COMPATIBILITY SameMajorVersion VARS_PREFIX ${PROJECT_NAME}