Add headers to CMakeLists.txt

This commit is contained in:
Martin Delille 2023-03-31 18:32:51 +02:00 committed by Rick Blommers
parent deeb5cbc42
commit ce7784e578

View File

@ -11,15 +11,19 @@ set(CMAKE_AUTORCC ON)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
add_library(QtAwesome
QtAwesome/QtAwesome.cpp
QtAwesome/QtAwesomeAnim.cpp
QtAwesome/QtAwesomeFree.qrc
QtAwesome/QtAwesome.h
QtAwesome/QtAwesome.cpp
QtAwesome/QtAwesomeAnim.h
QtAwesome/QtAwesomeAnim.cpp
QtAwesome/QtAwesomeEnumGenerated.h
QtAwesome/QtAwesomeStringGenerated.h
QtAwesome/QtAwesomeFree.qrc
)
target_include_directories(QtAwesome
INTERFACE ${PROJECT_SOURCE_DIR}/QtAwesome
INTERFACE ${PROJECT_SOURCE_DIR}/QtAwesome
)
target_link_libraries(QtAwesome PUBLIC
Qt${QT_VERSION_MAJOR}::Widgets
Qt${QT_VERSION_MAJOR}::Widgets
)