Permalink
Browse files

added _FILE_OFFSET_BITS=64 (#88)

  • Loading branch information...
1 parent 8547bbf commit 394982da4efd5da938daf7ed6769ce2c7f8623f9 @nestal nestal committed Jul 16, 2012
Showing with 5 additions and 3 deletions.
  1. +5 −0 CMakeLists.txt
  2. +0 −2 grive/CMakeLists.txt
  3. +0 −1 libgrive/CMakeLists.txt
View
@@ -1,6 +1,11 @@
cmake_minimum_required(VERSION 2.8)
+# Grive version. remember to update it for every new release!
set( GRIVE_VERSION "0.2.0" )
+# common compile options
+add_definitions( -DVERSION="${GRIVE_VERSION}" )
+add_definitions( -D_FILE_OFFSET_BITS=64 )
+
add_subdirectory( libgrive )
add_subdirectory( grive )
View
@@ -7,8 +7,6 @@ include_directories(
${OPT_INCS}
)
-add_definitions( -DVERSION="${GRIVE_VERSION}" )
-
file (GLOB GRIVE_EXE_SRC
${grive_SOURCE_DIR}/src/*.cc
)
View
@@ -68,7 +68,6 @@ file (GLOB LIBGRIVE_SRC
)
add_definitions(
- -DVERSION="${GRIVE_VERSION}"
-DTEST_DATA="${libgrive_SOURCE_DIR}/test/data/"
-DSRC_DIR="${libgrive_SOURCE_DIR}/src"
)

0 comments on commit 394982d

Please sign in to comment.