portability work

This commit is contained in:
Christien Rioux 2015-12-12 19:49:00 -08:00
parent 2d27fc56e6
commit 912019210d
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ ELSE()
FIND_PACKAGE (Threads REQUIRED) FIND_PACKAGE (Threads REQUIRED)
SET(CMAKE_CXX_FLAGS_RELEASE "-O3") SET(CMAKE_CXX_FLAGS_RELEASE "-O3")
SET(CMAKE_C_FLAGS_RELEASE "-O3") SET(CMAKE_C_FLAGS_RELEASE "-O3")
ADD_DEFINITIONS(-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64) ADD_DEFINITIONS(-D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64)
ENDIF() ENDIF()
ADD_LIBRARY (linecount SHARED src/turbo_linecount.cpp src/turbo_linecount.h) ADD_LIBRARY (linecount SHARED src/turbo_linecount.cpp src/turbo_linecount.h)