You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
458 B
16 lines
458 B
enable_language(CXX)
|
|
|
|
set(CMAKE_CXX_STANDARD 11)
|
|
find_package(Qt${with_qt_version} REQUIRED COMPONENTS Core Widgets Gui)
|
|
|
|
add_library(dummy STATIC example.cpp data.qrc)
|
|
target_link_libraries(dummy Qt${with_qt_version}::Core
|
|
Qt${with_qt_version}::Widgets
|
|
Qt${with_qt_version}::Gui)
|
|
|
|
set_target_properties(dummy PROPERTIES AUTORCC ON)
|
|
|
|
if(DEFINED ZSTD_VALUE)
|
|
set(QT_FEATURE_zstd ${ZSTD_VALUE})
|
|
endif()
|