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