Commit 884351ea authored by Emmanuel Thomé's avatar Emmanuel Thomé

better like this

parent 2bdb2780
......@@ -54,13 +54,14 @@ if(ENABLE_SHARED)
install(TARGETS utils utils_with_io DESTINATION ${LIBSUFFIX}/utils)
endif()
if(NOT CMAKE_SYSTEM_NAME EQUAL "FreeBSD")
if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
message(STATUS "Disabling antebuffer on ${CMAKE_SYSTEM_NAME}, see #21410")
# https://gforge.inria.fr/tracker/index.php?func=detail&aid=21410&group_id=2065&atid=7442
else()
add_executable(antebuffer antebuffer.c timing.cpp memusage.c)
target_link_libraries(antebuffer pthread)
install(TARGETS antebuffer RUNTIME DESTINATION ${LIBSUFFIX}/utils)
endif()
install(TARGETS antebuffer RUNTIME DESTINATION ${LIBSUFFIX}/utils)
include(CMakeLists-nodist.txt OPTIONAL)
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