mirror of https://github.com/CGAL/cgal
fix the bug about CGAL_Qt6_moc_and_resources_Fixture
This commit is contained in:
parent
ad8ad2d190
commit
811f78c6a1
|
|
@ -57,12 +57,6 @@ function(create_single_source_cgal_program firstfile )
|
|||
set(NO_TESTING TRUE)
|
||||
endif()
|
||||
|
||||
if(NOT NO_TESTING)
|
||||
cgal_add_test(${exe_name})
|
||||
else()
|
||||
cgal_add_test(${exe_name} NO_EXECUTION)
|
||||
endif()
|
||||
|
||||
add_to_cached_list( CGAL_EXECUTABLE_TARGETS ${exe_name} )
|
||||
|
||||
target_link_libraries(${exe_name} PRIVATE CGAL::CGAL CGAL::Data)
|
||||
|
|
@ -75,13 +69,10 @@ function(create_single_source_cgal_program firstfile )
|
|||
target_link_libraries(${exe_name} PRIVATE ${CGAL_3RD_PARTY_LIBRARIES})
|
||||
endif()
|
||||
|
||||
if(POLICY CMP0064)
|
||||
# CMake 3.4 or later
|
||||
if(NOT NO_TESTING)
|
||||
cgal_add_test(${exe_name})
|
||||
else()
|
||||
cgal_add_test(${exe_name} NO_EXECUTION)
|
||||
endif()
|
||||
if(NOT NO_TESTING)
|
||||
cgal_add_test(${exe_name})
|
||||
else()
|
||||
cgal_add_test(${exe_name} NO_EXECUTION)
|
||||
endif()
|
||||
|
||||
else()
|
||||
|
|
|
|||
Loading…
Reference in New Issue