diff --git gui/qt4/gwengui-qt4-config.cmake.in gui/qt4/gwengui-qt4-config.cmake.in
index 8b2b0fb..8225914 100644
|
|
if(NOT EXISTS "${_file}") |
22 | 22 | set_and_check(exec_prefix "@exec_prefix@") |
23 | 23 | set_and_check(includedir "@includedir@") |
24 | 24 | set_and_check(GWENGUI_QT4_INCLUDE_DIRS "@gwenhywfar_headerdir@") |
25 | | set_and_check(GWENGUI_QT4_LIBRARIES "@libdir@/libgwengui-qt4.so") |
26 | | set_and_check(GWENHYWFAR_CPP_LIBRARIES "@libdir@/libgwengui-cpp.so") |
| 25 | if(APPLE) |
| 26 | set_and_check(GWENGUI_QT4_LIBRARIES "@libdir@/libgwengui-qt4.dylib") |
| 27 | set_and_check(GWENHYWFAR_CPP_LIBRARIES "@libdir@/libgwengui-cpp.dylib") |
| 28 | else() |
| 29 | set_and_check(GWENGUI_QT4_LIBRARIES "@libdir@/libgwengui-qt4.so") |
| 30 | set_and_check(GWENHYWFAR_CPP_LIBRARIES "@libdir@/libgwengui-cpp.so") |
| 31 | endif(APPLE) |
27 | 32 | |
28 | 33 | set(GWENGUI_QT4_LIBRARIES ${GWENGUI_QT4_LIBRARIES} ${GWENHYWFAR_CPP_LIBRARIES}) |
29 | 34 | |
diff --git gwenhywfar-config.cmake.in gwenhywfar-config.cmake.in
index 82955da..fabef61 100644
|
|
set_and_check(prefix "@prefix@") |
23 | 23 | set_and_check(exec_prefix "@exec_prefix@") |
24 | 24 | set_and_check(includedir "@includedir@") |
25 | 25 | set_and_check(GWENHYWFAR_INCLUDE_DIRS "@gwenhywfar_headerdir@") |
26 | | set_and_check(GWENHYWFAR_LIBRARIES "@libdir@/libgwenhywfar.so.@GWENHYWFAR_SO_EFFECTIVE@") |
| 26 | if(APPLE) |
| 27 | set_and_check(GWENHYWFAR_LIBRARIES "@libdir@/libgwenhywfar.@GWENHYWFAR_SO_EFFECTIVE@.dylib") |
| 28 | else() |
| 29 | set_and_check(GWENHYWFAR_LIBRARIES "@libdir@/libgwenhywfar.so.@GWENHYWFAR_SO_EFFECTIVE@") |
| 30 | endif(APPLE) |
27 | 31 | |
28 | 32 | # find components |
29 | 33 | |