CMake Cleanup: use set for filepath instead of option

See https://developer.blender.org/D13830#368219
This commit is contained in:
Ankit Meel
2022-01-19 23:34:25 +05:30
parent f179637222
commit 596ce11556

View File

@@ -708,7 +708,7 @@ if(UNIX AND NOT APPLE)
endif() endif()
# Installation process. # 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) mark_as_advanced(POSTINSTALL_SCRIPT)
# end option(...) # end option(...)