##// 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-amda.cmake
26 lines | 714 B | text/x-cmake | CMakeLexer
/ plugins / amda / cmake / Findsciqlop-amda.cmake
# - Try to find sciqlop-amda
# Once done this will define
# SCIQLOP-AMDA_FOUND - System has sciqlop-amda
# SCIQLOP-AMDA_INCLUDE_DIR - The sciqlop-amda include directories
# SCIQLOP-AMDA_LIBRARIES - The libraries needed to use sciqlop-amda
if(SCIQLOP-AMDA_FOUND)
return()
endif(SCIQLOP-AMDA_FOUND)
set(SCIQLOP-AMDA_INCLUDE_DIR ${sciqlop-amda_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-AMDA_LIBRARIES_NAME "libsciqlop_amda${DEBUG_SUFFIX}.${OS_LIB_EXTENSION}")
set(SCIQLOP-AMDA_LIBRARIES "${LIBRARY_OUTPUT_PATH}/${SCIQLOP-AMDA_LIBRARIES_NAME}")
set(SCIQLOP-AMDA_FOUND TRUE)