[qet] [4462] Fix MAC OS X build

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 4462
Author:   scorpio810
Date:     2016-04-25 05:42:27 +0200 (Mon, 25 Apr 2016)
Log Message:
-----------
Fix MAC OS X build

Modified Paths:
--------------
    trunk/qelectrotech.pro

Modified: trunk/qelectrotech.pro
===================================================================
--- trunk/qelectrotech.pro	2016-04-21 19:04:11 UTC (rev 4461)
+++ trunk/qelectrotech.pro	2016-04-25 03:42:27 UTC (rev 4462)
@@ -136,6 +136,11 @@
 # Ajustement des bibliotheques utilisees lors de l'edition des liens
 unix:QMAKE_LIBS_THREAD -= -lpthread
 
+macx {
+       LIBS += -stdlib=libc++
+       QMAKE_CXXFLAGS += -stdlib=libc++
+}
+
 # Enable C++11
 QMAKE_CXXFLAGS += -std=c++11
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/