scanned-image-extractor/CMakeModules/qt5.cmake

10 lines
283 B
CMake
Raw Permalink Normal View History

2024-01-29 23:24:37 +00:00
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)