openbsd-ports/x11/remmina/patches/patch-src_CMakeLists_txt
jasper a96c550123 - update to remmina-1.2.30
with and ok landry@
2018-05-29 18:43:11 +00:00

22 lines
713 B
Plaintext

$OpenBSD: patch-src_CMakeLists_txt,v 1.1 2018/05/29 18:43:11 jasper Exp $
https://github.com/FreeRDP/Remmina/pull/1645
Index: src/CMakeLists.txt
--- src/CMakeLists.txt.orig
+++ src/CMakeLists.txt
@@ -132,6 +132,13 @@ target_link_libraries(remmina ${X11_LIBRARIES})
target_link_libraries(remmina ${CMAKE_THREAD_LIBS_INIT})
+find_package(Intl)
+if(INTL_FOUND AND "${CMAKE_SYSTEM_NAME}" MATCHES "FreeBSD|OpenBSD|NetBSD")
+ message(STATUS "${CMAKE_SYSTEM_NAME} detected, of type BSD, building with Intl")
+ include_directories(${Intl_INCLUDE_DIRS})
+ target_link_libraries(remmina ${Intl_LIBRARIES})
+endif()
+
find_suggested_package(LIBSSH)
if(LIBSSH_FOUND)
add_definitions(-DHAVE_LIBSSH)