x265: use default CMake ON/OFF values
replace true/false with ON/OFF for consistency Signed-off-by: Thijs Vermeir <thijsvermeir@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
2aca24c4d1
commit
23314b423e
@ -17,15 +17,15 @@ X265_DEPENDENCIES += host-yasm
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
|
||||
X265_CONF_OPTS += -DENABLE_SHARED=true -DENABLE_PIC=true
|
||||
X265_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_PIC=ON
|
||||
else
|
||||
X265_CONF_OPTS += -DENABLE_SHARED=false
|
||||
X265_CONF_OPTS += -DENABLE_SHARED=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_X265_CLI),y)
|
||||
X265_CONF_OPTS += -DENABLE_CLI=true
|
||||
X265_CONF_OPTS += -DENABLE_CLI=ON
|
||||
else
|
||||
X265_CONF_OPTS += -DENABLE_CLI=false
|
||||
X265_CONF_OPTS += -DENABLE_CLI=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
Loading…
Reference in New Issue
Block a user