From 91cfed975b8688c1c442b34cfe3307aca364390b Mon Sep 17 00:00:00 2001 From: cyjseagull Date: Mon, 19 Aug 2024 17:04:37 +0800 Subject: [PATCH] update installConfig --- cmake/InstallConfig.cmake | 2 +- cmake/InstallInclude.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/InstallConfig.cmake b/cmake/InstallConfig.cmake index 4af46fc..48a23b7 100644 --- a/cmake/InstallConfig.cmake +++ b/cmake/InstallConfig.cmake @@ -26,7 +26,7 @@ set(generated_dir "${CMAKE_CURRENT_BINARY_DIR}/generated") set(version_config "${generated_dir}/${PROJECT_NAME}ConfigVersion.cmake") set(project_config "${generated_dir}/${PROJECT_NAME}Config.cmake") set(TARGETS_EXPORT_NAME "${PROJECT_NAME}Targets") -set(namespace "${PROJECT_NAME}::") +set(namespace "") # Include module with fuction 'write_basic_package_version_file' include(CMakePackageConfigHelpers) diff --git a/cmake/InstallInclude.cmake b/cmake/InstallInclude.cmake index 70227a8..964fd9e 100644 --- a/cmake/InstallInclude.cmake +++ b/cmake/InstallInclude.cmake @@ -3,4 +3,4 @@ install( DIRECTORY "bcos-utilities" DESTINATION "${DESTINATION_INCLUDE_DIR}" FILES_MATCHING PATTERN "*.h" -) \ No newline at end of file +)