summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Prabowo Kamal <erik@darapsa.co.id>2019-08-25 09:59:11 +0800
committerErik Prabowo Kamal <erik@darapsa.co.id>2019-08-25 09:59:11 +0800
commitc3abee20a084b3669d648077086105672cee6564 (patch)
treed313be3ea423f05bb0c201a93956d6f73aa9ae83
parentc4d1459599fc312ca4bdd5300d3f00ba24bd2af3 (diff)
Managed to differentiate C from C++ compilation
-rw-r--r--kelakon.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/kelakon.pro b/kelakon.pro
index 35bc0a9..0892052 100644
--- a/kelakon.pro
+++ b/kelakon.pro
@@ -12,7 +12,7 @@ SOURCES += \
RESOURCES += kelakon.qrc
contains(ANDROID_TARGET_ARCH,armeabi-v7a) {
- INCLUDEPATH += /usr/local/arm-linux-androideabi/sysroot/usr/include
+ QMAKE_CFLAGS += -I/usr/local/arm-linux-androideabi/sysroot/usr/include
LIBS += -L/usr/local/arm-linux-androideabi/sysroot/usr/lib
ANDROID_EXTRA_LIBS += \
/usr/local/arm-linux-androideabi/sysroot/usr/lib/libcrypto.so \