We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ccb4d6 commit 511b8d4Copy full SHA for 511b8d4
1 file changed
CMakeLists.txt
@@ -28,6 +28,7 @@ if(NOT IS_RELEASE_BUILD AND NOT MSVC)
28
add_link_options(LINKER:--wrap=malloc,--wrap=realloc,--wrap=calloc,--wrap=free,--wrap=strdup,--wrap=wcsdup,--wrap=scandir,--wrap=getline)
29
add_subdirectory(ext/memcheck ${DEPENDENCY_BUILD_DIR_NAME}/memcheck EXCLUDE_FROM_ALL)
30
link_libraries(memcheck)
31
+ link_libraries(m)
32
else()
33
set(ENGINE_MEMCHECK_ENABLED OFF CACHE BOOL "" FORCE)
34
endif()
0 commit comments