linking against qt5 breaks c++14
Bug #1725664 reported by
Nils Schmidt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cmake (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I use cmake to build a project which uses qt5. In zesty and artful compiling fails with:
error: ‘remove_
I created a minimal example and found out that linking against qt5 like this: target_
I use a line like this to compile:
cd ~/cmake_bug/build && rm -rf * && cmake -D CMAKE_BUILD_
The problem does NOT affect 16.04. With 16.10 I don't know.
To post a comment you must log in.
Seems to be related to https:/ /gitlab. kitware. com/cmake/ cmake/issues/ 16608 so there is a workaround: SET(CMAKE_ CXX_STANDARD 14)