aca-tasks/task2/CMakeLists.txt

14 lines
451 B
CMake

find_package(Qt6 COMPONENTS Core REQUIRED)
find_package(fmt)
add_executable(task2-auto)
add_dependencies(task2-auto task1-dataset)
target_sources(task2-auto PRIVATE
src/task2-auto.cpp)
target_include_directories(task2-auto PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/include)
target_link_libraries(task2-auto PRIVATE
fmt::fmt)
install(TARGETS task2-auto DESTINATION bin)
install(IMPORTED_RUNTIME_ARTIFACTS task2-auto DESTINATION lib)