qgnomeplatform: CMake4 fix
This commit is contained in:
@@ -62,6 +62,9 @@ stdenv.mkDerivation rec {
|
|||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DGLIB_SCHEMAS_DIR=${glib.getSchemaPath gsettings-desktop-schemas}"
|
"-DGLIB_SCHEMAS_DIR=${glib.getSchemaPath gsettings-desktop-schemas}"
|
||||||
"-DQT_PLUGINS_DIR=${placeholder "out"}/${qtbase.qtPluginPrefix}"
|
"-DQT_PLUGINS_DIR=${placeholder "out"}/${qtbase.qtPluginPrefix}"
|
||||||
|
|
||||||
|
# Workaround CMake 4 compat
|
||||||
|
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.31")
|
||||||
]
|
]
|
||||||
++ lib.optionals useQt6 [
|
++ lib.optionals useQt6 [
|
||||||
"-DUSE_QT6=true"
|
"-DUSE_QT6=true"
|
||||||
|
|||||||
Reference in New Issue
Block a user