mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-30 11:06:27 +01:00
Merge pull request #278 from qurious-pixel/patch-1
Merged. Thank you for the contribution.
This commit is contained in:
@@ -322,8 +322,8 @@ else()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD)
|
||||
message(STATUS "Using FreeBSD port")
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "(Free|Net|Open)BSD")
|
||||
message(STATUS "Using BSD port")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DO_LARGEFILE=0 -Dstat64=stat -Dlstat64=lstat -Dlseek64=lseek -Doff64_t=off_t -Dfstat64=fstat -Dftruncate64=ftruncate")
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user