diff options
Diffstat (limited to 'examples/sql/cachedtable/CMakeLists.txt')
-rw-r--r-- | examples/sql/cachedtable/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/sql/cachedtable/CMakeLists.txt b/examples/sql/cachedtable/CMakeLists.txt index bcfc7d1d3c..9e11d6e4a4 100644 --- a/examples/sql/cachedtable/CMakeLists.txt +++ b/examples/sql/cachedtable/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}/sql/cachedtable") @@ -20,10 +20,12 @@ qt_add_executable(cachedtable main.cpp tableeditor.cpp tableeditor.h ) + set_target_properties(cachedtable PROPERTIES WIN32_EXECUTABLE TRUE MACOSX_BUNDLE TRUE ) + target_link_libraries(cachedtable PUBLIC Qt::Core Qt::Gui |