[x265] [PATCH] cmake: allow the CLI option to be cached

deepthi at multicorewareinc.com deepthi at multicorewareinc.com
Fri Jun 26 09:28:49 CEST 2015


# HG changeset patch
# User Deepthi Nandakumar <deepthi at multicorewareinc.com>
# Date 1435303707 -19800
#      Fri Jun 26 12:58:27 2015 +0530
# Node ID 9b26dc9ec39d60d1542fdfeb907b5e7467cd482e
# Parent  1e5c4d155ab85e8e8dd199bb3515801766ea9e88
cmake: allow the CLI option to be cached

This will expand the scope of this variable

diff -r 1e5c4d155ab8 -r 9b26dc9ec39d source/CMakeLists.txt
--- a/source/CMakeLists.txt	Thu Jun 25 13:42:29 2015 +0530
+++ b/source/CMakeLists.txt	Fri Jun 26 12:58:27 2015 +0530
@@ -490,7 +490,7 @@
 endif()
 
 # Main CLI application
-option(ENABLE_CLI "Build standalone CLI application" ON)
+set(ENABLE_CLI ON CACHE BOOL "Build standalone CLI application")
 if(ENABLE_CLI)
     file(GLOB InputFiles input/input.cpp input/yuv.cpp input/y4m.cpp input/*.h)
     file(GLOB OutputFiles output/output.cpp output/reconplay.cpp output/*.h


More information about the x265-devel mailing list