##// END OF EJS Templates
Added static plugin support...
Added static plugin support In case of fully static exe even plugins must be static to allow single file executable. Small fix, when using resources in app from library they must be initialized with Q_INIT_RESOURCE. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r911:f9b30b97e672
r1156:247dc18789c6
Show More
Findsciqlop-core.cmake
25 lines | 671 B | text/x-cmake | CMakeLexer
/ core / cmake / Findsciqlop-core.cmake
# - Try to find sciqlop-core
# Once done this will define
# SCIQLOP-CORE_FOUND - System has sciqlop-core
# SCIQLOP-CORE_INCLUDE_DIR - The sciqlop-core include directories
# SCIQLOP-CORE_LIBRARIES - The libraries needed to use sciqlop-core
if(SCIQLOP-CORE_FOUND)
return()
endif(SCIQLOP-CORE_FOUND)
set(SCIQLOP-CORE_INCLUDE_DIR ${sciqlop-core_DIR}/../include)
set (OS_LIB_EXTENSION "so")
if(WIN32)
set (OS_LIB_EXTENSION "dll")
endif(WIN32)
if (APPLE)
set (OS_LIB_EXTENSION "dylib")
endif(APPLE)
set(SCIQLOP-CORE_LIBRARIES ${LIBRARY_OUTPUT_PATH}/libsciqlop_core${DEBUG_SUFFIX}.${OS_LIB_EXTENSION})
set(SCIQLOP-CORE_FOUND TRUE)