mirror of
https://github.com/eddyem/small_tel.git
synced 2026-03-20 00:31:00 +03:00
add pre-pre-alpha
This commit is contained in:
19
Daemons/weatherdaemon_multimeteo/plugins/CMakeLists.txt
Normal file
19
Daemons/weatherdaemon_multimeteo/plugins/CMakeLists.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
cmake_minimum_required(VERSION 3.20)
|
||||
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(PLUGINS REQUIRED usefull_macros)
|
||||
|
||||
include_directories(${PLUGINS_INCLUDE_DIRS} ..)
|
||||
link_directories(${PLUGINSLIBRARY_DIRS})
|
||||
link_libraries(${$PLUGINS_LIBRARIES} -fPIC)
|
||||
|
||||
set(LIBS "")
|
||||
|
||||
if(DUMMY)
|
||||
add_library(wsdummy SHARED dummy.c)
|
||||
list(APPEND LIBS wsdummy)
|
||||
endif(DUMMY)
|
||||
|
||||
install(TARGETS ${LIBS} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
Reference in New Issue
Block a user