1
# Copyright © 2014 Canonical Ltd.
3
# This program is free software: you can redistribute it and/or modify
4
# it under the terms of the GNU Lesser General Public License version 3 as
5
# published by the Free Software Foundation.
7
# This program is distributed in the hope that it will be useful,
8
# but WITHOUT ANY WARRANTY; without even the implied warranty of
9
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
# GNU Lesser General Public License for more details.
12
# You should have received a copy of the GNU Lesser General Public License
13
# along with this program. If not, see <http://www.gnu.org/licenses/>.
15
# Authored by: Alexandros Frantzis <alexandros.frantzis@canonical.com>
17
add_library(mirsharedsharedlibrary OBJECT
19
shared_library_prober.cpp
22
list(APPEND MIR_COMMON_SOURCES
23
$<TARGET_OBJECTS:mirsharedsharedlibrary>
26
list(APPEND MIR_COMMON_REFERENCES dl)
28
set(MIR_COMMON_SOURCES ${MIR_COMMON_SOURCES} PARENT_SCOPE)
29
set(MIR_COMMON_REFERENCES ${MIR_COMMON_REFERENCES} PARENT_SCOPE)