blob: 1b639ec3a1778df1dba0e580d302a5366923ebab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
find_package(Qt4 REQUIRED)
include_directories(${QT_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR})
remove_definitions(-std=c99)
set(cpp-portage_SRCS qportagesettings.cpp)
set(cpp-portage_HDRS qportagesettings.h)
QT4_WRAP_CPP(cpp-portage_MOC_SRCS ${cpp-portage_HDRS})
add_library(cpp-portage qportagesettings.cpp ${cpp-portage_MOC_SRCS})
install(TARGETS cpp-portage DESTINATION lib)
install(DIRECTORY . DESTINATION include/cpp-portage
FILES_MATCHING PATTERN "*.h")
|