Commit efe38bcf authored by Adrián Gómez Brandón's avatar Adrián Gómez Brandón
Browse files

Fix: Linux ld library

parent 5cdd5df8
......@@ -30,6 +30,7 @@ elseif(CMAKE_BUILD_TYPE STREQUAL "Debug")
endif(NOT CMAKE_BUILD_TYPE)
add_library(malloc_count STATIC ${SOURCES})
target_link_libraries(malloc_count dl)
set_target_properties(malloc_count PROPERTIES LINKER_LANGUAGE C)
install(TARGETS malloc_count DESTINATION lib)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment