Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CMakeLists.txt « libc_compat « intern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 298d6f49bd9665d9f88691e624bedf29af7e49ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright 2015 Blender Foundation. All rights reserved.

set(INC
  .
)

set(INC_SYS
)

set(SRC
  libc_compat.c
)

set(LIB
)

add_c_flag(-ffast-math)

blender_add_lib(bf_intern_libc_compat "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")

if(WITH_LIBC_MALLOC_HOOK_WORKAROUND)
  target_compile_definitions(bf_intern_libc_compat
    PRIVATE WITH_LIBC_MALLOC_HOOK_WORKAROUND
  )
endif()