Use add_compile_options instead of add_compile_definitions

add_compile_definitions is not available until version 3.12.
pull/3538/head
Doug Nazar 2022-07-22 11:05:14 -04:00
parent 9c40e2bb86
commit cfa4cdc9a3
1 changed files with 1 additions and 1 deletions

View File

@ -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)