Kylin/QtComponets/CMakeLists.txt

15 lines
274 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
QClassStdStream.h QClassStdStream.cpp
)
target_include_directories(QtComponets
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
)
target_link_libraries(QtComponets
PUBLIC Qt6::Gui
)