]>
Commit | Line | Data |
---|---|---|
ad8ce64a JB |
1 | --- linphone-desktop-5.2.2/linphone-app/CMakeLists.txt.orig 2024-03-11 18:30:37.000000000 +0100 |
2 | +++ linphone-desktop-5.2.2/linphone-app/CMakeLists.txt 2024-03-12 21:45:48.707479838 +0100 | |
3 | @@ -24,7 +24,7 @@ cmake_minimum_required(VERSION 3.22) | |
de8a8fd9 | 4 | |
de8a8fd9 | 5 | |
ad8ce64a JB |
6 | #Linphone targets |
7 | -set(LINPHONE_PACKAGES LinphoneCxx Mediastreamer2 Belcard LibLinphone) | |
8 | +set(LINPHONE_PACKAGES LinphoneCxx Mediastreamer2 BelCard LibLinphone) | |
de8a8fd9 | 9 | |
ad8ce64a | 10 | list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") |
de8a8fd9 | 11 | |
ad8ce64a JB |
12 | @@ -105,10 +105,7 @@ set(ENABLE_DB_STORAGE ON CACHE BOOLEAN " |
13 | ||
14 | foreach(PACKAGE ${LINPHONE_PACKAGES}) | |
15 | message(STATUS "Trying to find ${PACKAGE}") | |
16 | - find_package(${PACKAGE}) | |
17 | - if(NOT ${PACKAGE}_FOUND) | |
18 | - find_package(${PACKAGE} CONFIG REQUIRED) | |
19 | - endif() | |
20 | + find_package(${PACKAGE} CONFIG REQUIRED) | |
21 | endforeach() | |
22 | ||
23 | set(PLUGIN_TARGETS ${LinphoneCxx_TARGET}) | |
24 | @@ -112,7 +112,7 @@ set(PLUGIN_TARGETS ${LinphoneCxx_TARGET} | |
25 | set(APP_TARGETS ${LinphoneCxx_TARGET} | |
26 | ${BCToolbox_TARGET}#Logger/App | |
27 | ${Mediastreamer2_TARGET}#MediastreamerUtils | |
28 | - ${Belcard_TARGET}#VCard Model | |
29 | + ${BelCard_TARGET}#VCard Model | |
30 | ${LibLinphone_TARGET})#MediastreamerUtils | |
31 | ||
32 | #################################### |