aboutsummaryrefslogtreecommitdiff
path: root/libs/plugin_python/src/pybind11-qt
diff options
context:
space:
mode:
Diffstat (limited to 'libs/plugin_python/src/pybind11-qt')
-rw-r--r--libs/plugin_python/src/pybind11-qt/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/plugin_python/src/pybind11-qt/CMakeLists.txt b/libs/plugin_python/src/pybind11-qt/CMakeLists.txt
index cb742ad..82793cb 100644
--- a/libs/plugin_python/src/pybind11-qt/CMakeLists.txt
+++ b/libs/plugin_python/src/pybind11-qt/CMakeLists.txt
@@ -56,5 +56,8 @@ add_custom_command(
add_dependencies(pybind11-qt PyQt6-siph)
target_include_directories(pybind11-qt PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
+if(NOT MSVC)
+ target_compile_options(pybind11-qt PRIVATE -Wno-attributes)
+endif()
add_library(pybind11::qt ALIAS pybind11-qt)