diff options
Diffstat (limited to 'source/blender/freestyle')
-rw-r--r-- | source/blender/freestyle/CMakeLists.txt | 5 | ||||
-rw-r--r-- | source/blender/freestyle/FRS_precomp.cpp | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/freestyle/CMakeLists.txt b/source/blender/freestyle/CMakeLists.txt index 47da6bc55f6..b7eaf018dba 100644 --- a/source/blender/freestyle/CMakeLists.txt +++ b/source/blender/freestyle/CMakeLists.txt @@ -594,7 +594,4 @@ if(WIN32) endif() blender_add_lib(bf_freestyle "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") - -if(COMMAND target_precompile_headers) - target_precompile_headers(bf_freestyle PRIVATE FRS_precomp.h) -endif() +blender_precompile_headers(bf_freestyle FRS_precomp.cpp FRS_precomp.h) diff --git a/source/blender/freestyle/FRS_precomp.cpp b/source/blender/freestyle/FRS_precomp.cpp new file mode 100644 index 00000000000..7e50a47f45b --- /dev/null +++ b/source/blender/freestyle/FRS_precomp.cpp @@ -0,0 +1,2 @@ +/* Pre-compiled headers, see: D2606. */ +#include "FRS_precomp.h" |