mirror of https://github.com/CGAL/cgal
stop using `target_precompile_headers` in CGAL Lab
This commit is contained in:
parent
749903e4dc
commit
e95e3935da
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue