Skip to content
Snippets Groups Projects
Commit a9a1a4bf authored by SteelT's avatar SteelT
Browse files

Fix FreeBSD memory reporting if built with cmake

parent 6d820223
No related branches found
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.
Please register or to comment