Link to execinfo to fix build on FreeBSD
This commit is contained in:
parent
868ec1f500
commit
c91284b3e1
1 changed files with 4 additions and 0 deletions
|
@ -164,6 +164,10 @@ if (Qt5Core_FOUND)
|
||||||
target_link_libraries(fgfs Qt5::Widgets fglauncher)
|
target_link_libraries(fgfs Qt5::Widgets fglauncher)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||||
|
target_link_libraries(fgfs execinfo)
|
||||||
|
endif()
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
install(TARGETS fgfs BUNDLE DESTINATION .)
|
install(TARGETS fgfs BUNDLE DESTINATION .)
|
||||||
else()
|
else()
|
||||||
|
|
Loading…
Reference in a new issue