Skip to content

CMake Error: set_property can not be used on an ALIAS target. #201

@salihberat

Description

@salihberat

i am using arch based Cachy OS as Operating System. After
❯ cmake -B build-dir --preset linux-x86_64 -DUSE_SYSTEM_CURL=ON -DCMAKE_INSTALL_PREFIX=./output_dir

i am having this error:

Preset CMake variables:

  CMAKE_BUILD_TYPE="RelWithDebInfo"
  ENABLE_FRONTEND_API:BOOL="TRUE"
  ENABLE_QT:BOOL="TRUE"

-- Found WrapAtomic: TRUE
CMake Error at cmake/common/helpers_common.cmake:89 (set_property):
  set_property can not be used on an ALIAS target.
Call Stack (most recent call first):
  CMakeLists.txt:26 (find_qt)


CMake Error at cmake/common/helpers_common.cmake:89 (set_property):
  set_property can not be used on an ALIAS target.
Call Stack (most recent call first):
  CMakeLists.txt:26 (find_qt)


CMake Error at cmake/common/helpers_common.cmake:89 (set_property):
  set_property can not be used on an ALIAS target.
Call Stack (most recent call first):
  CMakeLists.txt:26 (find_qt)


CMake Error at build-dir/_deps/corrosion-src/cmake/FindRust.cmake:23 (message):
  `rustc` not found in PATH or `/home/salih/.cargo/bin`.

  Hint: Check if `rustc` is in PATH or manually specify the location by
  setting `Rust_COMPILER` to the path to `rustc`.
Call Stack (most recent call first):
  build-dir/_deps/corrosion-src/cmake/FindRust.cmake:247 (_findrust_failed)
  build-dir/_deps/corrosion-src/cmake/Corrosion.cmake:63 (find_package)
  build-dir/_deps/corrosion-src/CMakeLists.txt:73 (include)


-- Configuring incomplete, errors occurred!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions