cmake: added missing INTERFACE to target_compile_definitions
This commit is contained in:
parent
9ffeae7b58
commit
d4f7b0aa0e
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ include(${SDL3_SOURCE_DIR}/cmake/CheckCPUArchitecture.cmake)
|
||||||
# with large inode numbers
|
# with large inode numbers
|
||||||
check_symbol_exists("__GLIBC__" "stdlib.h" LIBC_IS_GLIBC)
|
check_symbol_exists("__GLIBC__" "stdlib.h" LIBC_IS_GLIBC)
|
||||||
if (LIBC_IS_GLIBC AND CMAKE_SIZEOF_VOID_P EQUAL 4)
|
if (LIBC_IS_GLIBC AND CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||||
target_compile_definitions(sdl-build-options "_FILE_OFFSET_BITS=64")
|
target_compile_definitions(sdl-build-options INTERFACE "_FILE_OFFSET_BITS=64")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# See docs/release_checklist.md
|
# See docs/release_checklist.md
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue