Use find_library when building standalone.

master
Nicky 2019-01-23 19:24:14 +01:00
parent ed6780c40b
commit 9029d85de2
1 changed files with 14 additions and 5 deletions

View File

@ -37,9 +37,18 @@ elseif (DARWIN)
)
elseif (LINUX)
set(CEF_PLUGIN_LIBRARIES
dullahan
cef
cef_dll_wrapper.a
)
if (USESYSTEMLIBS)
find_library( LIB_DULLAHAN "dullahan" )
find_library( LIB_CEF "cef" )
find_library( LIB_CEF_WRAPPER "cef_dll_wrapper" )
set(CEF_PLUGIN_LIBRARIES ${LIB_DULLAHAN} ${LIB_CEF} ${LIB_CEF_WRAPPER} )
else()
set(CEF_PLUGIN_LIBRARIES
dullahan
cef
cef_dll_wrapper.a
)
endif()
endif (WINDOWS)