@@ -1,8 +1,16 | |||
|
1 | 1 | integrated_build:{ |
|
2 | 2 | message('Internal build within charts core source tree') |
|
3 | 3 | INCLUDEPATH += $$CHART_BUILD_HEADER_DIR |
|
4 | LIBS += -L $$CHART_BUILD_LIB_DIR -Wl,-rpath,$$CHART_BUILD_LIB_DIR | |
|
4 | ||
|
5 | !win32: { | |
|
6 | # What is the purpose of this? We are already adding our lib depending on the release type below. | |
|
7 | # Plus this causes an error in vs2010 build: | |
|
8 | # LINK : fatal error LNK1146: no argument specified with option '/LIBPATH:' | |
|
9 | LIBS += -L $$CHART_BUILD_LIB_DIR -Wl,-rpath,$$CHART_BUILD_LIB_DIR | |
|
10 | } | |
|
11 | ||
|
5 | 12 | DESTDIR = $$CHART_BUILD_BIN_DIR |
|
13 | ||
|
6 | 14 | CONFIG(debug, debug|release) { |
|
7 | 15 | LIBS += -lQtCommercialChartd |
|
8 | 16 | #this is ugly hack to work around missing rpath, it simply copies lib |
General Comments 0
You need to be logged in to leave comments.
Login now