Disable cotire unity build

This commit is contained in:
Jack Andersen 2017-12-31 16:53:17 -10:00
parent ca49e9a830
commit 308af03115
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@ target_link_libraries(hecl
${ZLIB_LIBRARIES} ${LZO_LIB} ${PLAT_LIBS} ${BOO_SYS_LIBS})
if(COMMAND cotire)
set_target_properties(hecl PROPERTIES COTIRE_ADD_UNITY_BUILD FALSE)
cotire(hecl)
endif()
endif()

View File

@ -70,6 +70,7 @@ if(COMMAND add_sanitizers)
add_sanitizers(hecl-common)
endif()
if(COMMAND cotire)
set_target_properties(hecl-common PROPERTIES COTIRE_ADD_UNITY_BUILD FALSE)
cotire(hecl-common)
endif()