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
Branches
No related tags found
No related merge requests found
...@@ -155,6 +155,10 @@ if (UNIX) ...@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment