Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gillesdegottex committed Jun 12, 2018
1 parent e5ec3fa commit ca75363
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion dfasma.pro
Expand Up @@ -238,6 +238,9 @@ CONFIG(file_sdif) {
isEmpty(FILE_SDIF_LIBDIR) {
FILE_SDIF_LIBDIR = "$$OUT_PWD/external/EASDIF_SDIF_build/easdif"
}
isEmpty(FILE_SDIF_LIBDIR_STATIC) {
FILE_SDIF_LIBDIR_STATIC = "$$OUT_PWD/external/EASDIF_SDIF_build/build"
}

CONFIG(file_sdif_static) {
message(" "SDIF static link)
Expand All @@ -252,7 +255,12 @@ CONFIG(file_sdif) {
!isEmpty(FILE_SDIF_LIBDIR){
message(" "FILE_SDIF_LIBDIR=$$FILE_SDIF_LIBDIR)
INCLUDEPATH += $$FILE_SDIF_LIBDIR/include
LIBS += -L$$FILE_SDIF_LIBDIR/lib
CONFIG(file_sdif_static){
LIBS += -L$$FILE_SDIF_LIBDIR_STATIC/lib
}
else{
LIBS += -L$$FILE_SDIF_LIBDIR/lib
}
}
}
else {
Expand Down

0 comments on commit ca75363

Please sign in to comment.