Find qca on other platforms than Windows

This commit is contained in:
Micke Prag 2010-10-26 11:15:00 +00:00
parent b8b4278eaf
commit 0a8a5c2ebb

View file

@ -1,11 +1,15 @@
FIND_LIBRARY( QCA_LIBRARY QCA )
FIND_LIBRARY( QCA_LIBRARY qca )
IF (WIN32)
IF (WINDOWS)
GET_FILENAME_COMPONENT(QCA_PATH ${QCA_LIBRARY} PATH)
MESSAGE(${QCA_PATH})
INCLUDE_DIRECTORIES(
${QCA_PATH}/../include/QtCrypto/
)
ENDIF (WIN32)
ELSE(WINDOWS)
#Maybe not so pretty, should be done better
INCLUDE_DIRECTORIES( /usr/include/qca2/QtCrypto/ )
ENDIF (WINDOWS)