Moved the _FILE_OFFSET_BITS=64 definition before the dependency checks. Fixes compilation on Linux x86.

This commit is contained in:
Pierre Bourdon 2012-05-17 00:11:55 +02:00
parent 5a8ad92302
commit c83f87dfc4
1 changed files with 1 additions and 2 deletions

View File

@ -218,6 +218,7 @@ if(FASTLOG)
add_definitions(-DDEBUGFAST) add_definitions(-DDEBUGFAST)
endif() endif()
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE)
######################################## ########################################
# Dependency checking # Dependency checking
@ -572,8 +573,6 @@ file(WRITE ${PROJECT_BINARY_DIR}/Source/Core/Common/Src/scmrev.h
include_directories("${PROJECT_BINARY_DIR}/Source/Core/Common/Src") include_directories("${PROJECT_BINARY_DIR}/Source/Core/Common/Src")
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE)
######################################## ########################################
# Optional Targets # Optional Targets
# TODO: Add DSPSpy and TestSuite. # TODO: Add DSPSpy and TestSuite.