make FreeBSD use -lcompat till we can fix ftime()

This commit is contained in:
fluffypony
2014-09-10 13:25:34 +02:00
parent 266c639f4f
commit 0e343ecfdf
2 changed files with 8 additions and 4 deletions
+4
View File
@@ -130,6 +130,10 @@ elseif(NOT MSVC)
set(Boost_LIBRARIES "${Boost_LIBRARIES};rt;pthread")
endif()
if(FREEBSD)
set(BSD_COMPAT "compat")
endif()
set(COMMIT_ID_IN_VERSION ON CACHE BOOL "Include commit ID in version")
file(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/version")
if (NOT COMMIT_ID_IN_VERSION)