mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2025-12-23 22:37:53 -05:00
Use add_compile_options instead of add_compile_definitions
add_compile_definitions is not available until version 3.12.
This commit is contained in:
@@ -43,7 +43,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
|
||||
set (CMAKE_CXX_STANDARD 17)
|
||||
set (CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
add_compile_definitions(_FILE_OFFSET_BITS=64)
|
||||
add_compile_options(-D_FILE_OFFSET_BITS=64)
|
||||
|
||||
include(ConfigureBaseTargets)
|
||||
include(CheckPlatform)
|
||||
|
||||
Reference in New Issue
Block a user