diff options
Diffstat (limited to 'examples/xml/htmlinfo/CMakeLists.txt')
-rw-r--r-- | examples/xml/htmlinfo/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/xml/htmlinfo/CMakeLists.txt b/examples/xml/htmlinfo/CMakeLists.txt index 55b1af2105..d07443c2cc 100644 --- a/examples/xml/htmlinfo/CMakeLists.txt +++ b/examples/xml/htmlinfo/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}/xml/htmlinfo") @@ -18,15 +18,16 @@ find_package(Qt6 REQUIRED COMPONENTS Core) qt_add_executable(htmlinfo main.cpp ) + set_target_properties(htmlinfo PROPERTIES WIN32_EXECUTABLE FALSE MACOSX_BUNDLE FALSE ) + target_link_libraries(htmlinfo PUBLIC Qt::Core ) - # Resources: set(resources_resource_files "apache_org.html" |