Commit 61336c63 authored by Antenore Gatta's avatar Antenore Gatta Committed by Giovanni Panozzo

FreeBSD compile flags

parent 84d9b54d
......@@ -98,6 +98,7 @@ include_directories(remmina/include)
# FreeBSD
if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-rdynamic")
include_directories(/usr/local/include)
link_directories(/usr/local/lib)
set(CMAKE_REQUIRED_INCLUDES /usr/local/include)
......
......@@ -117,12 +117,15 @@ include_directories(${GTK_INCLUDE_DIRS})
target_link_libraries(remmina ${GTK_LIBRARIES})
# either of webkitpackages would do
pkg_check_modules(WEBKIT2 REQUIRED webkit2gtk-3.0)
pkg_check_modules(WEBKIT2 REQUIRED
webkit2gtk-4.0
webkit2gtk-3.0
)
include_directories(
${WEBKIT2_INCLUDE_DIRS}
${WEBKIT2_INCLUDE_DIRS}
)
link_directories(
${WEBKIT2_LIBRARY_DIRS}
${WEBKIT2_LIBRARY_DIRS}
)
add_definitions(${WEBKIT2_CFLAGS_OTHER})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment