diff --git a/gtk/CMakeLists.txt b/gtk/CMakeLists.txt index f68a1c3c7..604a845d3 100644 --- a/gtk/CMakeLists.txt +++ b/gtk/CMakeLists.txt @@ -100,7 +100,7 @@ if(HAVE_LIBUDEV_H) target_link_libraries(linphone-gtk udev) endif() if(GTKMACINTEGRATION_FOUND) - target_include_directories(linphone-gtk ${GTKMACINTEGRATION_INCLUDE_DIRS}) + target_include_directories(linphone-gtk PUBLIC ${GTKMACINTEGRATION_INCLUDE_DIRS}) target_link_libraries(linphone-gtk ${GTKMACINTEGRATION_LIBRARIES}) endif() diff --git a/tester/CMakeLists.txt b/tester/CMakeLists.txt index 9d7e23c98..656de9bfe 100644 --- a/tester/CMakeLists.txt +++ b/tester/CMakeLists.txt @@ -81,8 +81,8 @@ else() target_include_directories(liblinphone_tester PUBLIC ${GTK2_INCLUDE_DIRS}) target_link_libraries(liblinphone_tester linphone ${GTK2_LIBRARIES}) if(GTKMACINTEGRATION_FOUND) - target_include_directories(linphone-gtk ${GTKMACINTEGRATION_INCLUDE_DIRS}) - target_link_libraries(linphone-gtk ${GTKMACINTEGRATION_LIBRARIES}) + target_include_directories(liblinphone_tester PUBLIC ${GTKMACINTEGRATION_INCLUDE_DIRS}) + target_link_libraries(liblinphone_tester ${GTKMACINTEGRATION_LIBRARIES}) endif() endif() endif()