提交 e1fd4ed9 编写于 作者: W wenxingsen 提交者: LINGuanRen

fix OB_ENABLE_UNITY spelling mistakes

上级 9eabc6a4
......@@ -10,7 +10,7 @@ ob_define(OB_USE_CCACHE OFF)
ob_define(OB_ENABLE_PCH ON)
ob_define(OB_ENABLE_LIB_PCH ${OB_ENABLE_PCH})
ob_define(OB_ENABLE_SERVER_PCH ${OB_ENABLE_PCH})
ob_define(OB_ENALBE_UNITY ON)
ob_define(OB_ENABLE_UNITY ON)
ob_define(OB_MAX_UNITY_BATCH_SIZE 30)
ob_define(OB_USE_ASAN OFF)
......
......@@ -13,7 +13,7 @@ endfunction()
function(ob_set_subtarget target group)
list(APPEND "${target}_cache_objects_" ${ARGN})
set("${target}_cache_objects_" ${${target}_cache_objects_} PARENT_SCOPE)
if (OB_ENALBE_UNITY)
if (OB_ENABLE_UNITY)
set(i 0)
set(group_id 0)
set(ob_sub_objects "")
......@@ -41,7 +41,7 @@ set(unity_after [[
function(ob_add_target target)
if(ARGC EQUAL 1)
add_library(${target} OBJECT "${${target}_cache_objects_}")
if (OB_ENALBE_UNITY)
if (OB_ENABLE_UNITY)
set_target_properties(${target} PROPERTIES UNITY_BUILD ON)
set_target_properties(${target} PROPERTIES UNITY_BUILD_CODE_AFTER_INCLUDE "${unity_after}")
set_target_properties(${target} PROPERTIES UNITY_BUILD_MODE GROUP)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册