deprecated use of qt5_use_modules
envgap__CloudCompare__CloudCompare-747
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
0b1b921b84440ee64033c14670410fe4a1ab10c6- Manifest
CC/CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
CloudCompare/CloudCompare #747 · read the original issue
<!--- If you are reporting a security issue, please email security@cloudcompare.org directly -->
## Current Behavior
<!--- If describing a bug, tell us what happens instead of the expected behavior -->
compilation errors. cmake does not generate makefiles
<!--- If suggesting a change/improvement, explain the difference from current behavior -->
instead of
```cmake
qt5_use_modules(${target_name} module_a module_b)
```
do
```cmake
target_link_libraries(${target_name} Qt5::module_a Qt5::module_b)
```
to resolve issue
<!--- If you're describing a bug, tell us what should happen -->
<!--- If you're suggesting a change/improvement, tell us how it should work -->
## Steps to Reproduce (for bugs)
attempt configuration / generation using Qt 5.11 (or newer)
<!--- Provide an unambiguous set of steps to reproduce this bug. -->
<!--- Include images if relevant -->
## Context/Comments
<!--- What are you trying to accomplish? Do you have ideas how to implement the change? -->
<!--- If it's a bug, do you have any other info to help track down the problem? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
## Your Environment
* CC Version: 2.10-alpha
* OS & Version: Arch Linux x86_64 (4.16.12-1-ARCH May 25 2018)
* Graphics card: n.a.
<!--- Include any other relevant details about your environment -->
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]