[Bf-blender-cvs] [596ce115567] master: CMake Cleanup: use set for filepath instead of option

Ankit Meel noreply at git.blender.org
Wed Jan 19 19:13:27 CET 2022


Commit: 596ce115567e3ddfd7ab5b7a8a488d064983e83c
Author: Ankit Meel
Date:   Wed Jan 19 23:34:25 2022 +0530
Branches: master
https://developer.blender.org/rB596ce115567e3ddfd7ab5b7a8a488d064983e83c

CMake Cleanup: use set for filepath instead of option

See https://developer.blender.org/D13830#368219

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

M	CMakeLists.txt

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

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 380acbbba0f..8af43d36916 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -708,7 +708,7 @@ if(UNIX AND NOT APPLE)
 endif()
 
 # Installation process.
-option(POSTINSTALL_SCRIPT "Run given CMake script after installation process" OFF)
+set(POSTINSTALL_SCRIPT "" CACHE FILEPATH "Run given CMake script after installation process")
 mark_as_advanced(POSTINSTALL_SCRIPT)
 
 # end option(...)



More information about the Bf-blender-cvs mailing list