Skip to content
Snippets Groups Projects
Commit dd54f749 authored by Alam Ed Arias's avatar Alam Ed Arias
Browse files

Merge branch 'freebsd-memfix-cmake' into 'master'

Fix FreeBSD memory reporting if built with cmake

See merge request STJr/SRB2!2314
parents 6d820223 a9a1a4bf
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment