Build fixes for the NSS provider. It compiles better

if it can find the appropriate headers, and links
better if it can find the matching libraries.

svn path=/trunk/kdesupport/qca/; revision=609814
This commit is contained in:
Brad Hards 2006-12-02 11:33:54 +00:00
parent bae6f62852
commit f9e5a75d8f

View File

@ -2,10 +2,12 @@ SET(QCA_NSS_SOURCES qca-nss.cpp)
ADD_DEFINITIONS(${NSS_DEFINITIONS})
INCLUDE_DIRECTORIES(${NSS_INCLUDE_DIR})
MY_AUTOMOC( QCA_NSS_SOURCES )
ADD_LIBRARY(qca-nss SHARED ${QCA_NSS_SOURCES})
TARGET_LINK_LIBRARIES(qca-nss ${QT_QTCORE_LIBRARY} qca)
TARGET_LINK_LIBRARIES(qca-nss ${QT_QTCORE_LIBRARY} qca ${NSS_LIBRARIES})
INSTALL(TARGETS qca-nss LIBRARY DESTINATION ${qca_PLUGINSDIR})