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