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(...)

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to