diff --git a/GraphicsView/src/CGAL_Qt5/CMakeLists.txt b/GraphicsView/src/CGAL_Qt5/CMakeLists.txt index 2ae249244e6..7e5c4db6fed 100644 --- a/GraphicsView/src/CGAL_Qt5/CMakeLists.txt +++ b/GraphicsView/src/CGAL_Qt5/CMakeLists.txt @@ -23,14 +23,15 @@ if( Qt5_FOUND ) add_config_flag( CGAL_HAS_QT5 ) endif() - message( STATUS "OpenGL include: ${OPENGL_INCLUDE_DIR}" ) - message( STATUS "OpenGL libraries: ${OPENGL_LIBRARIES}" ) - message( STATUS "OpenGL definitions: ${OPENGL_DEFINITIONS}" ) - message( STATUS "Qt5 include: ${QT_INCLUDE_DIR}" ) - message( STATUS "Qt5 libraries: ${QT_LIBRARIES}" ) - message( STATUS "Qt5 definitions: ${QT_DEFINITIONS}" ) - message( STATUS "moc executable: ${QT_MOC_EXECUTABLE}" ) - message( STATUS "uic executable: ${QT_UIC_EXECUTABLE}" ) + get_property(QT_UIC_EXECUTABLE TARGET Qt5::uic PROPERTY LOCATION) + message( STATUS "OpenGL include: ${OPENGL_INCLUDE_DIR}" ) + message( STATUS "OpenGL libraries: ${OPENGL_LIBRARIES}" ) + message( STATUS "OpenGL definitions: ${OPENGL_DEFINITIONS}" ) + message( STATUS "Qt5Core include: ${Qt5Core_INCLUDE_DIRS}" ) + message( STATUS "Qt5 libraries: ${Qt5Core_LIBRARIES} ${Qt5Gui_LIBRARIES} ${Qt5Svg_LIBRARIES} ${Qt5OpenGL_LIBRARIES}" ) + message( STATUS "Qt5Core definitions: ${Qt5Core_DEFINITIONS}" ) + message( STATUS "moc executable: ${QT_MOC_EXECUTABLE}" ) + message( STATUS "uic executable: ${QT_UIC_EXECUTABLE}" ) cache_set(CGAL_Qt5_3RD_PARTY_INCLUDE_DIRS ${QT_INCLUDE_DIR} ${OPENGL_INCLUDE_DIR} ) cache_set(CGAL_Qt5_3RD_PARTY_LIBRARIES ${QT_LIBRARIES} ${OPENGL_LIBRARIES} )