File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,11 @@ IF (UNIX AND NOT MINGW)
6464
6565 # Needed for dynamically loading shared libraries (on some OS)
6666 LIST (APPEND engineCommonLibraries ${CMAKE_DL_LIBS} )
67+
68+ # Needed for backtrace* on some systems
69+ IF (CMAKE_SYSTEM_NAME MATCHES "FreeBSD" )
70+ LIST (APPEND engineCommonLibraries execinfo)
71+ ENDIF (CMAKE_SYSTEM_NAME MATCHES "FreeBSD" )
6772ENDIF (UNIX AND NOT MINGW )
6873
6974FIND_PACKAGE_STATIC (ZLIB REQUIRED )
Original file line number Diff line number Diff line change @@ -35,6 +35,11 @@ IF (UNIX AND NOT MINGW)
3535
3636 # Needed for dynamically loading shared libraries (on some OS)
3737 LIST (APPEND engineDedicatedLibraries ${CMAKE_DL_LIBS} )
38+
39+ # Needed for backtrace* on some systems
40+ IF (CMAKE_SYSTEM_NAME MATCHES "FreeBSD" )
41+ LIST (APPEND engineDedicatedLibraries execinfo)
42+ ENDIF (CMAKE_SYSTEM_NAME MATCHES "FreeBSD" )
3843ENDIF (UNIX AND NOT MINGW )
3944
4045IF (MINGW OR APPLE )
You can’t perform that action at this time.
0 commit comments