mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-21 20:11:12 +00:00
Merge branch 'freebsd-memfix-cmake' into 'master'
Fix FreeBSD memory reporting if built with cmake See merge request STJr/SRB2!2314
This commit is contained in:
commit
dd54f749f2
1 changed files with 4 additions and 0 deletions
|
@ -155,6 +155,10 @@ if (UNIX)
|
|||
target_compile_definitions(SRB2SDL2 PRIVATE -DUNIXCOMMON)
|
||||
endif()
|
||||
|
||||
if (BSD MATCHES "FreeBSD")
|
||||
target_compile_definitions(SRB2SDL2 PRIVATE -DFREEBSD)
|
||||
endif()
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCC)
|
||||
find_program(OBJCOPY objcopy)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue