From 1e2c36b4be86235d65e62f33cf15e902c230a59c Mon Sep 17 00:00:00 2001 From: Syping Date: Mon, 27 Jul 2020 17:07:00 +0200 Subject: [PATCH] fix building dependencies --- src/luaenginecli/luaenginecli.pro | 7 +++---- src/src.pro | 5 +++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/luaenginecli/luaenginecli.pro b/src/luaenginecli/luaenginecli.pro index ce3db15..e8344da 100644 --- a/src/luaenginecli/luaenginecli.pro +++ b/src/luaenginecli/luaenginecli.pro @@ -32,13 +32,12 @@ unix { isEmpty(LUAENGINE_LIBDIR): LUAENGINE_LIBDIR = $$LUAENGINE_PREFIX/lib } -unix: LIBS += "-Wl,-rpath,\'$$LUAENGINE_LIBDIR\'" -L$$OUT_PWD/../luaengineos -lLuaEngineOS -L$$OUT_PWD/../luaenginenetwork -lLuaEngineNetwork -L$$OUT_PWD/../luaengineio -lLuaEngineIO -L$$OUT_PWD/../luaenginegui -lLuaEngineGui -L$$OUT_PWD/../luaenginecore -lLuaEngine -CONFIG(debug, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengineos/debug -lLuaEngineOS -L$$OUT_PWD/../luaenginenetwork/debug -lLuaEngineNetwork -L$$OUT_PWD/../luaengineio/debug -lLuaEngineIO -L$$OUT_PWD/../luaenginegui/debug -lLuaEngineGui -L$$OUT_PWD/../luaenginecore/debug -lLuaEngine -CONFIG(release, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengineos/release -lLuaEngineOS -L$$OUT_PWD/../luaenginenetwork/release -lLuaEngineNetwork -L$$OUT_PWD/../luaengineio/release -lLuaEngineIO -L$$OUT_PWD/../luaenginegui/release -lLuaEngineGui -L$$OUT_PWD/../luaenginecore/release -lLuaEngine +unix: LIBS += "-Wl,-rpath,\'$$LUAENGINE_LIBDIR\'" -L$$OUT_PWD/../luaengineos -lLuaEngineOS -L$$OUT_PWD/../luaenginenetwork -lLuaEngineNetwork -L$$OUT_PWD/../luaengineio -lLuaEngineIO -L$$OUT_PWD/../luaenginecore -lLuaEngine +CONFIG(debug, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengineos/debug -lLuaEngineOS -L$$OUT_PWD/../luaenginenetwork/debug -lLuaEngineNetwork -L$$OUT_PWD/../luaengineio/debug -lLuaEngineIO -L$$OUT_PWD/../luaenginecore/debug -lLuaEngine +CONFIG(release, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengineos/release -lLuaEngineOS -L$$OUT_PWD/../luaenginenetwork/release -lLuaEngineNetwork -L$$OUT_PWD/../luaengineio/release -lLuaEngineIO -L$$OUT_PWD/../luaenginecore/release -lLuaEngine INCLUDEPATH += \ ../luaenginecore/luaengine \ - ../luaenginegui/luaengine \ ../luaengineio/luaengine \ ../luaenginenetwork/luaengine \ ../luaengineos/luaengine diff --git a/src/src.pro b/src/src.pro index 45eae4f..2babe7c 100644 --- a/src/src.pro +++ b/src/src.pro @@ -34,6 +34,11 @@ luaengine.depends += luaenginecore \ luaengineio luaengineos +luaenginecli.depends += luaenginecore \ + luaenginenetwork + luaengineio + luaengineos + luaengineapp.depends += luaenginecore \ luaenginegui luaenginenetwork