Changeset View
Changeset View
Standalone View
Standalone View
source/creator/CMakeLists.txt
| # SPDX-License-Identifier: GPL-2.0-or-later | # SPDX-License-Identifier: GPL-2.0-or-later | ||||
| # Copyright 2006 Blender Foundation. All rights reserved. | # Copyright 2006 Blender Foundation. All rights reserved. | ||||
| # The function feenableexcept is not present non glibc systems, hence we need | |||||
| # to check if it's available in the fenv.h file. | |||||
campbellbarton: Bad capitalization, also, finish all sentences with a full stop (same for other comments in… | |||||
| if(CMAKE_SYSTEM_NAME STREQUAL "Linux") | |||||
| include(CheckSymbolExists) | |||||
| check_symbol_exists(feenableexcept "fenv.h" HAVE_FEENABLEEXCEPT) | |||||
| if(HAVE_FEENABLEEXCEPT) | |||||
| add_definitions(-DHAVE_FEENABLEEXCEPT) | |||||
Done Inline ActionsBetter avoid unnecessary checks on non-Linux systems, suggest to put this inside an if(CMAKE_SYSTEM_NAME STREQUAL "Linux") check. campbellbarton: Better avoid unnecessary checks on non-Linux systems, suggest to put this inside an `if… | |||||
Done Inline ActionsUse lowercase CMake commands & no space between the command and the bracket, also for HAVE_MALLOC_STATS check. campbellbarton: Use lowercase CMake commands & no space between the command and the bracket, also for… | |||||
| endif() | |||||
| endif() | |||||
| blender_include_dirs( | blender_include_dirs( | ||||
| ../../intern/clog | ../../intern/clog | ||||
| ../../intern/glew-mx | ../../intern/glew-mx | ||||
| ../../intern/guardedalloc | ../../intern/guardedalloc | ||||
| ../blender/blenkernel | ../blender/blenkernel | ||||
| ../blender/blenlib | ../blender/blenlib | ||||
| ../blender/blenloader | ../blender/blenloader | ||||
| ../blender/depsgraph | ../blender/depsgraph | ||||
| ▲ Show 20 Lines • Show All 992 Lines • Show Last 20 Lines | |||||
Bad capitalization, also, finish all sentences with a full stop (same for other comments in this patch).