4 # Needed for exporting/importing symbols
5 add_definitions(-DCOMMON_LIBRARY)
8 include_directories(${eVaf_INCLUDE})
10 # Required eVaf libraries
27 # Header files for the meta-object compiler
43 # Version info resource file for Windows builds
44 if(WIN32 AND NOT MINGW)
45 set(SRCS ${SRCS} version.rc)
46 endif(WIN32 AND NOT MINGW)
48 qt5_wrap_cpp(MOC_SRCS ${MOC_HDRS})
50 add_library(${TARGET} SHARED ${SRCS} ${MOC_SRCS})
52 qt5_use_modules(${TARGET} Core)
54 target_link_libraries(${TARGET} ${eVaf_LIBRARIES})
56 install(TARGETS ${TARGET} DESTINATION bin)