diff options
Diffstat (limited to 'overlay/CMakeLists.txt')
-rw-r--r-- | overlay/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/overlay/CMakeLists.txt b/overlay/CMakeLists.txt index 733f7e450..0adc1a327 100644 --- a/overlay/CMakeLists.txt +++ b/overlay/CMakeLists.txt @@ -40,6 +40,9 @@ remove_definitions("-DUNICODE") add_library(overlay SHARED) +# The overlay doesn't work well with unity builds +set_target_properties(overlay PROPERTIES UNITY_BUILD FALSE) + find_program(FXC "fxc" DOC "Effect-Compiler tool") if(NOT FXC) message(FATAL_ERROR "Effect-Compiler tool not found!") |