Skip to content

The exported cmake config package fails to be imported! #155

@ClausKlein

Description

@ClausKlein
bash-5.2$ cmake -S . -B build --trace-expand --trace-source=/Users/clausklein/.local/lib/cmake/beman.execution/beman.execution-config.cmake --trace-source=/Users/clausklein/.local/lib/cmake/beman.execution/beman.execution-targets-relwithdebinfo.cmake 
Put cmake in trace mode, but with variables expanded.
Put cmake in trace mode, but output only lines of a specified file. Multiple options are allowed.
Put cmake in trace mode, but output only lines of a specified file. Multiple options are allowed.
/Users/clausklein/.local/lib/cmake/beman.execution/beman.execution-config.cmake(1):  set(BEMAN_EXECUTION_VERSION 0.0.2 )
/Users/clausklein/.local/lib/cmake/beman.execution/beman.execution-config.cmake(3):  include(CMakeFindDependencyMacro )
/Users/clausklein/.local/lib/cmake/beman.execution/beman.execution-config.cmake(4):  find_dependency(Threads )
/Users/clausklein/.local/lib/cmake/beman.execution/beman.execution-config.cmake(11):  get_filename_component(PACKAGE_PREFIX_DIR /Users/clausklein/.local/lib/cmake/beman.execution/../../../ ABSOLUTE )
/Users/clausklein/.local/lib/cmake/beman.execution/beman.execution-config.cmake(13):  macro(set_and_check _var _file )
/Users/clausklein/.local/lib/cmake/beman.execution/beman.execution-config.cmake(20):  macro(check_required_components _NAME )
/Users/clausklein/.local/lib/cmake/beman.execution/beman.execution-config.cmake(32):  include(/Users/clausklein/.local/lib/cmake/beman.execution/beman.execution-targets.cmake )
/Users/clausklein/.local/lib/cmake/beman.execution/beman.execution-targets-relwithdebinfo.cmake(6):  set(CMAKE_IMPORT_FILE_VERSION 1 )
/Users/clausklein/.local/lib/cmake/beman.execution/beman.execution-targets-relwithdebinfo.cmake(9):  set_property(TARGET beman::beman.execution APPEND PROPERTY IMPORTED_CONFIGURATIONS RELWITHDEBINFO )
/Users/clausklein/.local/lib/cmake/beman.execution/beman.execution-targets-relwithdebinfo.cmake(10):  set_target_properties(beman::beman.execution PROPERTIES IMPORTED_LINK_INTERFACE_LANGUAGES_RELWITHDEBINFO CXX IMPORTED_LOCATION_RELWITHDEBINFO /Users/clausklein/.local/lib/libbeman.execution.a )
/Users/clausklein/.local/lib/cmake/beman.execution/beman.execution-targets-relwithdebinfo.cmake(15):  list(APPEND _cmake_import_check_targets beman::beman.execution )
/Users/clausklein/.local/lib/cmake/beman.execution/beman.execution-targets-relwithdebinfo.cmake(16):  list(APPEND _cmake_import_check_files_for_beman::beman.execution /Users/clausklein/.local/lib/libbeman.execution.a )
/Users/clausklein/.local/lib/cmake/beman.execution/beman.execution-targets-relwithdebinfo.cmake(19):  set(CMAKE_IMPORT_FILE_VERSION )
/Users/clausklein/.local/lib/cmake/beman.execution/beman.execution-config.cmake(34):  check_required_components(beman.execution )
/Users/clausklein/.local/lib/cmake/beman.execution/beman.execution-config.cmake(21):  foreach(comp  )
-- CMAKE_CXX_STANDARD="23" ; CMAKE_PROJECT_NAME="beman.execution.examples" ; CMAKE_PROJECT_VERSION="0.0.2" ; CMAKE_SOURCE_DIR="/Users/clausklein/Workspace/cpp/beman-project/execution26/examples"
-- CMAKE_CXX_SCAN_FOR_MODULES="" ; PROJECT_NAME="beman.execution.examples" ; PROJECT_VERSION="0.0.2" ; PROJECT_SOURCE_DIR="/Users/clausklein/Workspace/cpp/beman-project/execution26/examples"
-- Configuring done (0.1s)
CMake Error at CMakeLists.txt:49 (target_link_libraries):
  Target "beman.execution.examples.inspect" links to:

    beman::execution

  but the target was not found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions