diff --git a/src/qt_common/CMakeLists.txt b/src/qt_common/CMakeLists.txt index 1ef61c4807..34d08a1b24 100644 --- a/src/qt_common/CMakeLists.txt +++ b/src/qt_common/CMakeLists.txt @@ -92,7 +92,7 @@ if (ENABLE_OPENGL) target_compile_definitions(qt_common PUBLIC HAS_OPENGL) endif() -if (LINUX AND FREEBSD) +if (LINUX OR FREEBSD) if (DEFINED Qt6Gui_PRIVATE_INCLUDE_DIRS) target_include_directories(qt_common PRIVATE ${Qt6Gui_PRIVATE_INCLUDE_DIRS}) else()