mirror of https://github.com/CGAL/cgal
remove REQUIRED keyword for CGAL_Qt5 in demos
The handling should be with a status message
This commit is contained in:
parent
870795d79d
commit
84dfabf3b4
|
|
@ -14,7 +14,7 @@ endif()
|
|||
# Include this package's headers first
|
||||
include_directories( BEFORE ./ ./include ../../include )
|
||||
# Find CGAL and CGAL Qt5
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5 )
|
||||
find_package(CGAL COMPONENTS Qt5 )
|
||||
include( ${CGAL_USE_FILE} )
|
||||
|
||||
# Find Qt5 itself
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ if(POLICY CMP0043)
|
|||
cmake_policy(SET CMP0043 OLD)
|
||||
endif()
|
||||
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5)
|
||||
find_package(CGAL COMPONENTS Qt5)
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
find_package(Qt5 COMPONENTS Xml Script OpenGL)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ if(POLICY CMP0043)
|
|||
cmake_policy(SET CMP0043 OLD)
|
||||
endif()
|
||||
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5)
|
||||
find_package(CGAL COMPONENTS Qt5)
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
find_package(Qt5 COMPONENTS Xml Script OpenGL)
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ if(POLICY CMP0043)
|
|||
cmake_policy(SET CMP0043 OLD)
|
||||
endif()
|
||||
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5)
|
||||
find_package(CGAL COMPONENTS Qt5)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ if(POLICY CMP0043)
|
|||
cmake_policy(SET CMP0043 OLD)
|
||||
endif()
|
||||
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5)
|
||||
find_package(CGAL COMPONENTS Qt5)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ if(POLICY CMP0043)
|
|||
cmake_policy(SET CMP0043 OLD)
|
||||
endif()
|
||||
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5)
|
||||
find_package(CGAL COMPONENTS Qt5)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ if(POLICY CMP0043)
|
|||
cmake_policy(SET CMP0043 OLD)
|
||||
endif()
|
||||
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5)
|
||||
find_package(CGAL COMPONENTS Qt5)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ if(POLICY CMP0043)
|
|||
cmake_policy(SET CMP0043 OLD)
|
||||
endif()
|
||||
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5)
|
||||
find_package(CGAL COMPONENTS Qt5)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ if(POLICY CMP0043)
|
|||
cmake_policy(SET CMP0043 OLD)
|
||||
endif()
|
||||
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5)
|
||||
find_package(CGAL COMPONENTS Qt5)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ if(POLICY CMP0043)
|
|||
cmake_policy(SET CMP0043 OLD)
|
||||
endif()
|
||||
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5)
|
||||
find_package(CGAL COMPONENTS Qt5)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ if ( COMMAND cmake_policy )
|
|||
cmake_policy( SET CMP0003 NEW )
|
||||
endif()
|
||||
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5 REQUIRED)
|
||||
find_package(CGAL COMPONENTS Qt5)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ if(POLICY CMP0043)
|
|||
cmake_policy(SET CMP0043 OLD)
|
||||
endif()
|
||||
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5 Core)
|
||||
find_package(CGAL COMPONENTS Qt5 Core)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ if(POLICY CMP0043)
|
|||
cmake_policy(SET CMP0043 OLD)
|
||||
endif()
|
||||
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5)
|
||||
find_package(CGAL COMPONENTS Qt5)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ if(POLICY CMP0043)
|
|||
cmake_policy(SET CMP0043 OLD)
|
||||
endif()
|
||||
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5)
|
||||
find_package(CGAL COMPONENTS Qt5)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ if(POLICY CMP0043)
|
|||
cmake_policy(SET CMP0043 OLD)
|
||||
endif()
|
||||
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5)
|
||||
find_package(CGAL COMPONENTS Qt5)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ if(POLICY CMP0043)
|
|||
cmake_policy(SET CMP0043 OLD)
|
||||
endif()
|
||||
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5)
|
||||
find_package(CGAL COMPONENTS Qt5)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ endif()
|
|||
add_definitions(-DCGAL_PROFILE_LCC_DEMO)
|
||||
|
||||
##################
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5)
|
||||
find_package(CGAL COMPONENTS Qt5)
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
find_package(Qt5 COMPONENTS Xml Script OpenGL)
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
|
|||
include_directories( BEFORE ${Mesh_3_implicit_functions_BINARY_DIR} ../include )
|
||||
|
||||
# Find CGAL and CGAL Qt5
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5)
|
||||
find_package(CGAL COMPONENTS Qt5)
|
||||
include( ${CGAL_USE_FILE} )
|
||||
|
||||
# Find Qt5 itself
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ if(POLICY CMP0043)
|
|||
endif()
|
||||
|
||||
# Find CGAL
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5)
|
||||
find_package(CGAL COMPONENTS Qt5)
|
||||
include( ${CGAL_USE_FILE} )
|
||||
|
||||
# Find Qt5 itself
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ if(POLICY CMP0043)
|
|||
cmake_policy(SET CMP0043 OLD)
|
||||
endif()
|
||||
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5)
|
||||
find_package(CGAL COMPONENTS Qt5)
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ set( QT_USE_QTOPENGL TRUE )
|
|||
if( POLYHEDRON_QTSCRIPT_DEBUGGER)
|
||||
set( QT_USE_QTSCRIPTTOOLS TRUE )
|
||||
endif()
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5)
|
||||
find_package(CGAL COMPONENTS Qt5)
|
||||
include( ${CGAL_USE_FILE} )
|
||||
find_package(Qt5 COMPONENTS OpenGL Script Svg Xml ScriptTools)
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ endforeach()
|
|||
include_directories( ./ )
|
||||
|
||||
# Find CGAL and CGAL Qt5
|
||||
find_package(CGAL REQUIRED COMPONENTS Qt5)
|
||||
find_package(CGAL COMPONENTS Qt5)
|
||||
include( ${CGAL_USE_FILE} )
|
||||
|
||||
# Find Qt5 itself
|
||||
|
|
|
|||
Loading…
Reference in New Issue