mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-27 21:49:10 +02:00
More portable libdl handling
This commit is contained in:
parent
eab0b1e674
commit
093ad29ae1
@ -105,13 +105,10 @@ if(NOT WIN32)
|
||||
if(HAVE_RT_LIB)
|
||||
set(SYSTEM_LIBS ${SYSTEM_LIBS} rt)
|
||||
endif()
|
||||
|
||||
CHECK_LIBRARY_EXISTS(dl dlopen "" HAVE_DL_LIB)
|
||||
if(HAVE_DL_LIB)
|
||||
set(SYSTEM_LIBS ${SYSTEM_LIBS} dl)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(SYSTEM_LIBS ${SYSTEM_LIBS} ${CMAKE_DL_LIBS})
|
||||
|
||||
set(FFmpeg_FIND_COMPONENTS AVFORMAT SWSCALE)
|
||||
find_package(Boost 1.48.0 COMPONENTS filesystem locale program_options system thread REQUIRED)
|
||||
find_package(ZLIB REQUIRED)
|
||||
|
Loading…
x
Reference in New Issue
Block a user