1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

FreeBSD: need libexecinfo for backtrace()

This commit is contained in:
xtouqh 2020-10-05 17:57:31 +03:00
parent ff471af3de
commit 0095db4a30

View File

@ -24,7 +24,11 @@ endif()
add_executable(vcmiserver ${server_SRCS} ${server_HEADERS})
target_link_libraries(vcmiserver PRIVATE vcmi)
set(server_LIBS vcmi)
if(CMAKE_SYSTEM_NAME MATCHES FreeBSD)
set(server_LIBS execinfo ${server_LIBS})
endif()
target_link_libraries(vcmiserver PRIVATE ${server_LIBS})
target_include_directories(vcmiserver
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}