mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 04:21:23 +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)
|
target_compile_definitions(SRB2SDL2 PRIVATE -DUNIXCOMMON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (BSD MATCHES "FreeBSD")
|
||||||
|
target_compile_definitions(SRB2SDL2 PRIVATE -DFREEBSD)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(CMAKE_COMPILER_IS_GNUCC)
|
if(CMAKE_COMPILER_IS_GNUCC)
|
||||||
find_program(OBJCOPY objcopy)
|
find_program(OBJCOPY objcopy)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue