diff options
Diffstat (limited to 'examples/widgets/windowcontainer/CMakeLists.txt')
-rw-r--r-- | examples/widgets/windowcontainer/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/widgets/windowcontainer/CMakeLists.txt b/examples/widgets/windowcontainer/CMakeLists.txt index b4f948311f..5af9687b13 100644 --- a/examples/widgets/windowcontainer/CMakeLists.txt +++ b/examples/widgets/windowcontainer/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}/widgets/windowcontainer") @@ -19,10 +19,12 @@ qt_add_executable(windowcontainer ../../opengl/openglwindow/openglwindow.cpp ../../opengl/openglwindow/openglwindow.h windowcontainer.cpp ) + set_target_properties(windowcontainer PROPERTIES WIN32_EXECUTABLE TRUE MACOSX_BUNDLE TRUE ) + target_include_directories(windowcontainer PUBLIC ../../opengl/openglwindow ) |