Skip to content
Snippets Groups Projects
Verified Commit 204dd947 authored by Lars Bilke's avatar Lars Bilke
Browse files

[cmake] Fix unity build settings when MaterialLib is disabled.

parent 249cf6c2
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,9 @@ endif() ...@@ -4,7 +4,9 @@ endif()
set_target_properties(BaseLib PROPERTIES UNITY_BUILD_BATCH_SIZE 8) set_target_properties(BaseLib PROPERTIES UNITY_BUILD_BATCH_SIZE 8)
set_target_properties(GeoLib PROPERTIES UNITY_BUILD_BATCH_SIZE 40) set_target_properties(GeoLib PROPERTIES UNITY_BUILD_BATCH_SIZE 40)
set_target_properties(MaterialLib PROPERTIES UNITY_BUILD_BATCH_SIZE 20) if(TARGET MaterialLib)
set_target_properties(MaterialLib PROPERTIES UNITY_BUILD_BATCH_SIZE 20)
endif()
set_target_properties(MathLib PROPERTIES UNITY_BUILD_BATCH_SIZE 10) set_target_properties(MathLib PROPERTIES UNITY_BUILD_BATCH_SIZE 10)
set_target_properties(MeshLib PROPERTIES UNITY_BUILD_BATCH_SIZE 20) set_target_properties(MeshLib PROPERTIES UNITY_BUILD_BATCH_SIZE 20)
# set_target_properties(ProcessLib PROPERTIES UNITY_BUILD_BATCH_SIZE 80) # # set_target_properties(ProcessLib PROPERTIES UNITY_BUILD_BATCH_SIZE 80) #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment