Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
salihberat opened this issue Feb 8, 2025 · 0 comments
Open

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

salihberat opened this issue Feb 8, 2025 · 0 comments

Comments

@salihberat
Copy link

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!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant