Skip to content

Commit 034b6db

Browse files
committed
Update CMakeLists.txt
1 parent 4e00501 commit 034b6db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ elseif(LINUX)
199199

200200
if (CMAKE_CXX_COMPILER MATCHES "clang")
201201
message(STATUS "Detected Clang compiler: ${CMAKE_CXX_COMPILER}")
202-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
202+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++ -D_FILE_OFFSET_BITS=64")
203203
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lc++abi")
204204
endif()
205205

0 commit comments

Comments
 (0)