blob: c5a8441c8c947f08a7f7a804226f986c1da51df5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# SPDX-FileCopyrightText: Allen Winter <winter@kde.org>
# SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_SOURCE_DIR}/src
${CMAKE_BINARY_DIR}/src
${CMAKE_SOURCE_DIR}/src/libical
${CMAKE_BINARY_DIR}/src/libical
${CMAKE_SOURCE_DIR}/src/libicalss
)
########### doesnothing target ###############
set(doesnothing_SRCS
access_components.c
access_properties_and_parameters.c
errors.c
main.c
parse_text.c
)
add_executable(doesnothing ${doesnothing_SRCS})
add_dependencies(doesnothing ical icalss icalvcal)
if(NOT STATIC_ONLY)
target_link_libraries(doesnothing ical icalss icalvcal)
else()
target_link_libraries(doesnothing
ical-static
icalss-static
icalvcal-static
)
if(DEFINED CMAKE_THREAD_LIBS_INIT)
target_link_libraries(doesnothing ${CMAKE_THREAD_LIBS_INIT})
endif()
if(ICU_FOUND)
target_link_libraries(doesnothing ${ICU_LIBRARIES})
endif()
if(BDB_FOUND)
target_link_libraries(doesnothing ${BDB_LIBRARY})
endif()
endif()
|