File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Installation/cmake/modules Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -141,10 +141,6 @@ function(cgal_add_compilation_test exe_name)
141141 PROPERTY FIXTURES_SETUP "check_build_system_SetupFixture" )
142142 endif ()
143143 endif ()
144- if (POLICY CMP0066) # cmake 3.7 or later
145- set_property (TEST "compilation_of__${exe_name} "
146- APPEND PROPERTY FIXTURES_REQUIRED "check_build_system_SetupFixture" )
147- endif ()
148144 if (TARGET CGAL_Qt5_moc_and_resources) # if CGAL_Qt5 was searched, and is header-only
149145 get_property (linked_libraries TARGET "${exe_name} " PROPERTY LINK_LIBRARIES )
150146 # message(STATUS "${exe_name} depends on ${linked_libraries}")
@@ -156,7 +152,7 @@ function(cgal_add_compilation_test exe_name)
156152 add_custom_target (compilation_of__CGAL_Qt5_moc_and_resources)
157153 add_dependencies ( compilation_of__CGAL_Qt5_moc_and_resources CGAL_Qt5_moc_and_resources )
158154 add_test (NAME "compilation_of__CGAL_Qt5_moc_and_resources"
159- COMMAND "${CMAKE_COMMAND} " --build "${CMAKE_BINARY_DIR} " --target "compilation_of__CGAL_Qt5_moc_and_resources " --config "$<CONFIG>" )
155+ COMMAND "${CMAKE_COMMAND} " --build "${CMAKE_BINARY_DIR} " --target "CGAL_Qt5_moc_and_resources " --config "$<CONFIG>" )
160156 set_property (TEST "compilation_of__CGAL_Qt5_moc_and_resources"
161157 APPEND PROPERTY LABELS "CGAL_build_system" )
162158 set_property (TEST "compilation_of__CGAL_Qt5_moc_and_resources"
You can’t perform that action at this time.
0 commit comments