Kylin/QtComponets/CMakeLists.txt

16 lines
291 B
CMake
Raw Normal View History

2023-08-13 15:05:35 +08:00
find_package(Qt6 COMPONENTS Gui REQUIRED)
set(CMAKE_AUTOMOC ON)
add_library(QtComponets
2023-08-13 15:12:18 +08:00
AsyncEvent.h
2023-08-13 15:05:35 +08:00
QClassStdStream.h QClassStdStream.cpp
)
target_include_directories(QtComponets
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
)
target_link_libraries(QtComponets
PUBLIC Qt6::Gui
)