mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-27 12:04:31 +00:00
QCA_LIB_SUFFIX intended to replace workaround 3 major version. For building for Qt5 can be used -DQCA_LIB_SUFFIX=qt5 for example. Result will be named libqca2-qt5.so.2.0.3 library for Linux. Also this suffix will be applied for qca2 pkg config file, qcatool2 binary and qcatool2 manpage. I hope that is a good way to resolve the building conflict against qt4 and qt5.
14 lines
306 B
CMake
14 lines
306 B
CMake
QCA_INCDIR = @QCA_INCLUDE_INSTALL_DIR@
|
|
QCA_LIBDIR = @QCA_LIBRARY_INSTALL_DIR@
|
|
|
|
CONFIG *= qt
|
|
INCLUDEPATH += $$QCA_INCDIR/QtCrypto
|
|
LIBS += -L$$QCA_LIBDIR
|
|
|
|
LINKAGE = -l@QCA_LIB_NAME@
|
|
CONFIG(debug, debug|release) {
|
|
windows:LINKAGE = -l@QCA_LIB_NAME@d
|
|
mac:LINKAGE = -l@QCA_LIB_NAME@_debug
|
|
}
|
|
LIBS += $$LINKAGE
|