1
0
Fork 0

Link to execinfo to fix build on FreeBSD

This commit is contained in:
Ganael Laplanche 2017-03-01 20:53:56 +00:00
parent 868ec1f500
commit c91284b3e1

View file

@ -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()