fix OB_ENABLE_UNITY spelling mistakes
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user