Skip to content

Instantly share code, notes, and snippets.

@Kakadu
Created February 1, 2021 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kakadu/29d28cac066e36b8ad4de58d02dff46c to your computer and use it in GitHub Desktop.
Save Kakadu/29d28cac066e36b8ad4de58d02dff46c to your computer and use it in GitHub Desktop.
cmake + Qt6
✗ CMAKE_MODULE_PATH=/home/kakadu/prog/qt/qt_off/6.0.1/gcc_64/lib/cmake/ cmake --find-package -DNAME="Qt6" -DCOMPILER_ID=GNU -DMODE=EXIST -DLANGUAGE=CXX
CMake Error at /usr/share/cmake-3.16/Modules/FindThreads.cmake:49 (message):
FindThreads only works if either C or CXX language is enabled
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
/home/kakadu/prog/qt/qt_off/6.0.1/gcc_64/lib/cmake/Qt6/Qt6Dependencies.cmake:41 (find_dependency)
/home/kakadu/prog/qt/qt_off/6.0.1/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:76 (include)
/usr/share/cmake-3.16/Modules/CMakeFindPackageMode.cmake:183 (find_package)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment