1
#Set the correct compiler options
2
IF(CMAKE_SIZEOF_VOID_P EQUAL 4)
4
MESSAGE(STATUS "Apper detected that you use a 32 bit processor.")
5
ELSE(CMAKE_SIZEOF_VOID_P EQUAL 4)
6
# 64 bit (well, anything else than 32 bit, but someone use something else than 32 or 64 bit ?)
7
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
8
MESSAGE(STATUS "Apper detected that you use a 64 bit processor. Added -fPIC to the CXX_FLAGS.")
9
ENDIF(CMAKE_SIZEOF_VOID_P EQUAL 4)
15
ApplicationLauncher.cpp
16
ApplicationsDelegate.cpp
19
TransactionDelegate.cpp
22
PkTransactionDialog.cpp
24
KpkLicenseAgreement.cpp
31
KpkCategorizedView.cpp
34
kde4_add_ui_files(libshared_SRCS
35
ApplicationLauncher.ui
38
KpkLicenseAgreement.ui
43
kde4_add_library(sharedlib SHARED ${libshared_SRCS})
44
target_link_libraries(sharedlib
47
${QPACKAGEKIT2_LIBRARIES})
49
install(TARGETS sharedlib ${INSTALL_TARGETS_DEFAULT_ARGS})