blob: 85094a51a4876d0ddce414fc7e718bee88f41dc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
find_package(Qt5Xml)
add_executable(pyside-rcc main.cpp rcc.cpp)
include_directories(pyside-rcc
${Qt5Xml_INCLUDE_DIRS}
${Qt5Core_INCLUDE_DIRS})
target_link_libraries(pyside-rcc
${Qt5Core_LIBRARIES}
${Qt5Xml_LIBRARIES})
install(TARGETS pyside-rcc RUNTIME DESTINATION bin)
# Man pages
if (NOT win32)
file(GLOB manpages "${CMAKE_CURRENT_SOURCE_DIR}/*.1")
install(FILES ${manpages} DESTINATION share/man/man1)
endif()
|