diff options
Diffstat (limited to 'draw')
| -rw-r--r-- | draw/CMakeLists.txt | 3 | ||||
| -rw-r--r-- | draw/precomp.hpp | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/draw/CMakeLists.txt b/draw/CMakeLists.txt index 9dd2e869..a76cecbf 100644 --- a/draw/CMakeLists.txt +++ b/draw/CMakeLists.txt @@ -7,3 +7,6 @@ target_link_libraries(${self} PUBLIC Magnum::Shaders ${PROJECT_NAME} ) +if(FLOORMAT_PRECOMPILED-HEADERS) + target_precompile_headers(${self} PRIVATE precomp.hpp) +endif() diff --git a/draw/precomp.hpp b/draw/precomp.hpp new file mode 100644 index 00000000..e81a58f0 --- /dev/null +++ b/draw/precomp.hpp @@ -0,0 +1,2 @@ +#pragma once +#include "src/precomp.hpp" |
