30 lines
972 B
Plaintext
30 lines
972 B
Plaintext
$OpenBSD: patch-CMakeLists_txt,v 1.5 2018/05/29 18:43:11 jasper Exp $
|
|
|
|
https://github.com/FreeRDP/Remmina/pull/1645
|
|
|
|
Index: CMakeLists.txt
|
|
--- CMakeLists.txt.orig
|
|
+++ CMakeLists.txt
|
|
@@ -86,7 +86,7 @@ include_directories(src/include)
|
|
|
|
# FreeBSD
|
|
|
|
-if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
|
+if((CMAKE_SYSTEM_NAME MATCHES "FreeBSD") OR (CMAKE_SYSTEM_NAME MATCHES "OpenBSD"))
|
|
set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-rdynamic")
|
|
include_directories(/usr/local/include /usr/include)
|
|
link_directories(/usr/local/lib /usr/lib)
|
|
@@ -241,12 +241,6 @@ if(GTK_FOUND)
|
|
add_subdirectory(plugins/secret)
|
|
endif()
|
|
|
|
-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()
|
|
if(WITH_TRANSLATIONS)
|
|
add_subdirectory(po)
|
|
endif()
|