From f56c5245d249ce755fb26ae1791de3c6f9dcee44 Mon Sep 17 00:00:00 2001 From: Ankit Meel Date: Mon, 12 Oct 2020 18:51:48 +0530 Subject: Cleanup: CMake: Remove arguments from endif(..) No functional change. Added in {rB1f6b7387ad01} --- intern/cycles/cmake/macros.cmake | 2 +- source/blender/datatoc/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/intern/cycles/cmake/macros.cmake b/intern/cycles/cmake/macros.cmake index 6dd40847c11..ff62b816e6c 100644 --- a/intern/cycles/cmake/macros.cmake +++ b/intern/cycles/cmake/macros.cmake @@ -90,7 +90,7 @@ function(cycles_link_directories) if(APPLE) # APPLE plaform uses full paths for linking libraries, and avoids link_directories. return() - endif(APPLE) + endif() if(WITH_OPENCOLORIO) link_directories(${OPENCOLORIO_LIBPATH}) diff --git a/source/blender/datatoc/CMakeLists.txt b/source/blender/datatoc/CMakeLists.txt index fa400ccf36d..27dc01f1750 100644 --- a/source/blender/datatoc/CMakeLists.txt +++ b/source/blender/datatoc/CMakeLists.txt @@ -55,7 +55,7 @@ if(NOT WITH_HEADLESS) if(NOT APPLE) # APPLE plaform uses full paths for linking libraries. link_directories(${PNG_LIBPATH} ${ZLIB_LIBPATH}) - endif(NOT APPLE) + endif() add_executable(datatoc_icon ${SRC}) setup_platform_linker_flags(datatoc_icon) -- cgit v1.2.3