18 lines
465 B
CMake
18 lines
465 B
CMake
set(BIN_NAME dci-icon-theme)
|
|
set(TARGET_NAME ${BIN_NAME}${DTK_VERSION_MAJOR})
|
|
|
|
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Concurrent REQUIRED)
|
|
|
|
add_executable(${TARGET_NAME}
|
|
main.cpp
|
|
)
|
|
|
|
target_link_libraries(${TARGET_NAME} PRIVATE
|
|
Qt${QT_VERSION_MAJOR}::Gui
|
|
Qt${QT_VERSION_MAJOR}::Concurrent
|
|
${LIB_NAME}
|
|
)
|
|
set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME ${BIN_NAME})
|
|
|
|
install(TARGETS ${TARGET_NAME} DESTINATION "${TOOL_INSTALL_DIR}")
|