From 596ce115567e3ddfd7ab5b7a8a488d064983e83c Mon Sep 17 00:00:00 2001 From: Ankit Meel Date: Wed, 19 Jan 2022 23:34:25 +0530 Subject: [PATCH] CMake Cleanup: use set for filepath instead of option See https://developer.blender.org/D13830#368219 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(...)