stop using `target_precompile_headers` in CGAL Lab

This commit is contained in:
Laurent Rineau 2025-04-28 17:17:45 +02:00
parent 749903e4dc
commit e95e3935da
1 changed files with 2 additions and 2 deletions

View File

@ -262,11 +262,11 @@ if(CGAL_Qt6_FOUND AND Qt6_FOUND)
if(TARGET CGAL::TBB_support)
target_link_libraries(c3t3_type_pch PRIVATE CGAL::TBB_support)
endif()
target_precompile_headers(c3t3_type_pch PRIVATE [["C3t3_type.h"]])
# target_precompile_headers(c3t3_type_pch PRIVATE [["C3t3_type.h"]])
function(CGAL_Lab_target_use_c3t3_type target)
target_link_libraries(${target} PRIVATE c3t3_type_pch)
target_precompile_headers(${target} REUSE_FROM c3t3_type_pch)
# target_precompile_headers(${target} REUSE_FROM c3t3_type_pch)
if(TARGET CGAL::TBB_support)
target_link_libraries(${target} PRIVATE CGAL::TBB_support)
endif()