mirror of https://github.com/AxioDL/metaforce.git
Disable cotire unity build
This commit is contained in:
parent
ca49e9a830
commit
308af03115
|
@ -28,6 +28,7 @@ target_link_libraries(hecl
|
||||||
${ZLIB_LIBRARIES} ${LZO_LIB} ${PLAT_LIBS} ${BOO_SYS_LIBS})
|
${ZLIB_LIBRARIES} ${LZO_LIB} ${PLAT_LIBS} ${BOO_SYS_LIBS})
|
||||||
|
|
||||||
if(COMMAND cotire)
|
if(COMMAND cotire)
|
||||||
|
set_target_properties(hecl PROPERTIES COTIRE_ADD_UNITY_BUILD FALSE)
|
||||||
cotire(hecl)
|
cotire(hecl)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -70,6 +70,7 @@ if(COMMAND add_sanitizers)
|
||||||
add_sanitizers(hecl-common)
|
add_sanitizers(hecl-common)
|
||||||
endif()
|
endif()
|
||||||
if(COMMAND cotire)
|
if(COMMAND cotire)
|
||||||
|
set_target_properties(hecl-common PROPERTIES COTIRE_ADD_UNITY_BUILD FALSE)
|
||||||
cotire(hecl-common)
|
cotire(hecl-common)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue