This repository has been archived on 2024-08-13. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
QtPropertyBrowser/examples/demo/CMakeLists.txt
Abhijit Kundu 2b9f84b72b First commit
2014-12-01 13:41:34 -05:00

20 lines
349 B
CMake

SET(example_name demo)
SET(KIT_SRCS
main.cpp
)
SET(KIT_resources
demo.qrc
)
IF(QT5_FOUND)
QT5_ADD_RESOURCES(KIT_QRC_SRCS ${KIT_resources})
ELSE()
QT4_ADD_RESOURCES(KIT_QRC_SRCS ${KIT_resources})
ENDIF()
ADD_EXECUTABLE(${example_name} ${KIT_SRCS} ${KIT_QRC_SRCS})
TARGET_LINK_LIBRARIES(${example_name} ${PROJECT_NAME} ${QT_TARGETS})