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:
parent
ff471af3de
commit
0095db4a30
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user