scanned-image-extractor/CMakeModules/qt5.cmake
2024-01-30 00:24:37 +01:00

10 lines
283 B
CMake

find_package(Qt5Core REQUIRED)
find_package(Qt5Widgets REQUIRED)
# As moc files are generated in the binary dir, tell CMake
# to always look for includes there:
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Instruct CMake to run moc automatically when needed.
set(CMAKE_AUTOMOC ON)