[Bf-blender-cvs] [f56c5245d24] master: Cleanup: CMake: Remove arguments from endif(..)

Ankit Meel noreply at git.blender.org
Mon Oct 12 15:22:44 CEST 2020


Commit: f56c5245d249ce755fb26ae1791de3c6f9dcee44
Author: Ankit Meel
Date:   Mon Oct 12 18:51:48 2020 +0530
Branches: master
https://developer.blender.org/rBf56c5245d249ce755fb26ae1791de3c6f9dcee44

Cleanup: CMake: Remove arguments from endif(..)

No functional change. Added in {rB1f6b7387ad01}

===================================================================

M	intern/cycles/cmake/macros.cmake
M	source/blender/datatoc/CMakeLists.txt

===================================================================

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)



More information about the Bf-blender-cvs mailing list