Fix CMake warning: qt5_make_output_file is not part of the official API, and might be removed in Qt 6.
This commit is contained in:
committed by
wwmayer
parent
3f3df7d8e3
commit
9ade68e9bf
@@ -27,24 +27,6 @@ set(ImageGui_LIBS
|
||||
${OPENGL_glu_LIBRARY}
|
||||
)
|
||||
|
||||
set(ImageGui_MOC_HDRS
|
||||
ImageView.h
|
||||
ImageOrientationDialog.h
|
||||
)
|
||||
|
||||
if(FREECAD_USE_QTOPENGL_WIDGET)
|
||||
list(APPEND ImageGui_MOC_HDRS
|
||||
OpenGLImageBox.h
|
||||
)
|
||||
else()
|
||||
list(APPEND ImageGui_MOC_HDRS
|
||||
GLImageBox.h
|
||||
)
|
||||
endif()
|
||||
|
||||
fc_wrap_cpp(ImageGui_MOC_SRCS ${ImageGui_MOC_HDRS})
|
||||
SOURCE_GROUP("Moc" FILES ${ImageGui_MOC_SRCS})
|
||||
|
||||
SET(ImageGui_RES_SRCS
|
||||
Resources/Image.qrc
|
||||
)
|
||||
@@ -62,7 +44,6 @@ else()
|
||||
endif()
|
||||
|
||||
SET(ImageGui_SRCS
|
||||
# ${ImageGui_MOC_SRCS}
|
||||
${ImageGui_QRC_SRCS}
|
||||
${ImageGui_UIC_HDRS}
|
||||
AppImageGui.cpp
|
||||
|
||||
Reference in New Issue
Block a user