##// END OF EJS Templates
Fixed wrong plugin path with windows...
jeandet -
r1401:332611cbdba3
parent child
Show More
@@ -64,10 +64,14 int main(int argc, char* argv[])
64 64 // Loads plugins
65 65 auto pluginDir = QDir { a.applicationDirPath() };
66 66 auto pluginLookupPath = {
67 #if _WIN32 || _WIN64
68 a.applicationDirPath() + "/SciQLop"
69 #else
67 70 a.applicationDirPath() + "/../lib64/SciQLop",
68 71 a.applicationDirPath() + "/../lib64/sciqlop",
69 72 a.applicationDirPath() + "/../lib/SciQLop",
70 73 a.applicationDirPath() + "/../lib/sciqlop",
74 #endif
71 75 };
72 76
73 77 #if _WIN32 || _WIN64
@@ -28,9 +28,9 SET_TARGET_PROPERTIES(amdaplugin PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
28 28 target_link_libraries(amdaplugin PUBLIC sciqlopgui)
29 29
30 30 install(TARGETS amdaplugin
31 ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/SciQlop
32 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/SciQlop
33 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}/SciQlop)
31 ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/SciQLop
32 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/SciQLop
33 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}/SciQLop)
34 34
35 35 include(sciqlop_tests)
36 36
@@ -17,9 +17,9 SET_TARGET_PROPERTIES(mockplugin PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
17 17 target_link_libraries(mockplugin sciqlopgui)
18 18
19 19 install(TARGETS mockplugin
20 ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/SciQlop
21 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/SciQlop
22 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}/SciQlop)
20 ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/SciQLop
21 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/SciQLop
22 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}/SciQLop)
23 23
24 24 include(sciqlop_tests)
25 25
General Comments 0
You need to be logged in to leave comments. Login now