mirror of https://github.com/vitalif/grive2
Combine with APPLE and OpenBSD off_t modification
parent
4381d7a1b2
commit
b4d8d14b34
|
@ -10,13 +10,10 @@ message(WARNING "Version to build: ${GRIVE_VERSION}")
|
|||
# common compile options
|
||||
add_definitions( -DVERSION="${GRIVE_VERSION}" )
|
||||
add_definitions( -D_FILE_OFFSET_BITS=64 -std=c++0x )
|
||||
if ( APPLE )
|
||||
add_definitions( -Doff64_t=off_t )
|
||||
endif ( APPLE )
|
||||
|
||||
if ( CMAKE_SYSTEM MATCHES "^FreeBSD" )
|
||||
if ( APPLE OR ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" OR ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD" )
|
||||
add_definitions( -Doff64_t=off_t )
|
||||
endif ( CMAKE_SYSTEM MATCHES "^FreeBSD" )
|
||||
endif ( APPLE OR ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" OR ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD" )
|
||||
|
||||
find_program(
|
||||
HAVE_SYSTEMD systemd
|
||||
|
|
Loading…
Reference in New Issue