Use add_compile_options instead of add_compile_definitions
add_compile_definitions is not available until version 3.12.pull/3538/head
parent
9c40e2bb86
commit
cfa4cdc9a3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue