diff options
Diffstat (limited to 'examples/opengl/contextinfo/CMakeLists.txt')
-rw-r--r-- | examples/opengl/contextinfo/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/opengl/contextinfo/CMakeLists.txt b/examples/opengl/contextinfo/CMakeLists.txt index bddd46cd4e..ad11734e0d 100644 --- a/examples/opengl/contextinfo/CMakeLists.txt +++ b/examples/opengl/contextinfo/CMakeLists.txt @@ -8,7 +8,7 @@ set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") + set(INSTALL_EXAMPLESDIR "examples") endif() set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/opengl/contextinfo") @@ -20,10 +20,12 @@ qt_add_executable(contextinfo renderwindow.cpp renderwindow.h widget.cpp widget.h ) + set_target_properties(contextinfo PROPERTIES WIN32_EXECUTABLE TRUE MACOSX_BUNDLE TRUE ) + target_link_libraries(contextinfo PUBLIC Qt::Core Qt::Gui |