diff options
Diffstat (limited to 'source/blender/freestyle/CMakeLists.txt')
-rw-r--r-- | source/blender/freestyle/CMakeLists.txt | 5 |
1 files changed, 1 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) |