diff --git a/Athena.pro b/Athena.pro index ebf3c48..b8da3e8 100644 --- a/Athena.pro +++ b/Athena.pro @@ -39,3 +39,25 @@ include(Athena.pri) OTHER_FILES += \ .travis.yml +unix { + isEmpty(PREFIX) { + PREFIX = /usr/local + } + libFiles.path = $$PREFIX/lib + libFiles.files = $$PWD/lib/* + headerFiles.files = $$PWD/include/* + headerFiles.path = $$PREFIX/include/Athena + INSTALLS += libFiles headerFiles +} + +win32 { + isEmpty(PREFIX) { + PREFIX = $$PWD/pkg + } + + libFiles.path = $$PREFIX/lib + libFiles.files = $$PWD/lib/* + headerFiles.path = $$PREFIX/include/Athena + headerFiles.files = $$PWD/include/* + INSTALLS += libFiles headerFiles +}