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

Target "HMPIDBase" links to itself #1243

Closed
aphecetche opened this issue Jun 29, 2018 · 1 comment
Closed

Target "HMPIDBase" links to itself #1243

aphecetche opened this issue Jun 29, 2018 · 1 comment

Comments

@aphecetche
Copy link
Collaborator

Just updated to latest dev and got this warning :

[cmake] Configuring done
[cmake] CMake Warning (dev) at cmake/O2Utils.cmake:271 (Add_Library):
[cmake] Policy CMP0038 is not set: Targets may not link directly to themselves.
[cmake] Run "cmake --help-policy CMP0038" for policy details. Use the cmake_policy
[cmake] command to set the policy and suppress this warning.
[cmake]
[cmake] Target "HMPIDBase" links to itself.
[cmake] Call Stack (most recent call first):
[cmake] Detectors/HMPID/base/CMakeLists.txt:16 (O2_GENERATE_LIBRARY)
[cmake] This warning is for project developers. Use -Wno-dev to suppress it.
[cmake]
[cmake] Generating done

I guess it was introduced in #1231

@sawenzel
Copy link
Collaborator

Fixed.

mikesas pushed a commit to mikesas/AliceO2 that referenced this issue Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants