blender/intern/cycles/kernel/osl/CMakeLists.txt
Jonas Holzman c04ad40821 Cleanup: macOS: Remove OSL -faligned-allocation CXX flag
From the comment, this flag was added to suppress allocation warnings on
macOS < 10.14. With the minimum deployment target now being set to 13.0
with !163627, remove this now unused flag. Confirmed to not re-introduce
warnings locally.

Pull Request: https://projects.blender.org/blender/blender/pulls/163669
2026-09-08 15:18:37 +02:00

41 lines
616 B
CMake

# SPDX-FileCopyrightText: 2011-2022 Blender Foundation
#
# SPDX-License-Identifier: Apache-2.0
set(INC
../..
)
set(INC_SYS
)
set(SRC
closures.cpp
globals.cpp
services.cpp
)
set(HEADER_SRC
closures_setup.h
closures_template.h
compat.h
globals.h
osl.h
services.h
services_shared.h
types.h
)
set(LIB
PUBLIC cycles_scene
PUBLIC bf::dependencies::optional::osl
PRIVATE bf::dependencies::openimageio
PRIVATE bf::dependencies::optional::pugixml
)
include_directories(${INC})
include_directories(SYSTEM ${INC_SYS})
cycles_add_library(cycles_kernel_osl "${LIB}" ${SRC} ${HEADER_SRC})