diff --git a/CMakeLists.txt b/CMakeLists.txt index 9721bf54ad..ce76c954db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -218,6 +218,7 @@ if(FASTLOG) add_definitions(-DDEBUGFAST) endif() +add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE) ######################################## # 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") -add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE) - ######################################## # Optional Targets # TODO: Add DSPSpy and TestSuite.