vtkWithQt4: actually build QVTK libs/headers (#84772)
- VTK_USE_QT is obsolete and didn't have the intended effect
This commit is contained in:
parent
babf5477f5
commit
948b38300d
@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
|
|||||||
# At least, we use -fPIC for other packages to be able to use this in shared
|
# At least, we use -fPIC for other packages to be able to use this in shared
|
||||||
# objects.
|
# objects.
|
||||||
cmakeFlags = [ "-DCMAKE_C_FLAGS=-fPIC" "-DCMAKE_CXX_FLAGS=-fPIC" "-DVTK_USE_SYSTEM_TIFF=1" "-DOPENGL_INCLUDE_DIR=${libGL}/include" ]
|
cmakeFlags = [ "-DCMAKE_C_FLAGS=-fPIC" "-DCMAKE_CXX_FLAGS=-fPIC" "-DVTK_USE_SYSTEM_TIFF=1" "-DOPENGL_INCLUDE_DIR=${libGL}/include" ]
|
||||||
++ optional (qtLib != null) [ "-DVTK_USE_QT:BOOL=ON" ]
|
++ optional (qtLib != null) [ "-DVTK_Group_Qt:BOOL=ON" ]
|
||||||
++ optional stdenv.isDarwin [ "-DOPENGL_INCLUDE_DIR=${OpenGL}/Library/Frameworks" ]
|
++ optional stdenv.isDarwin [ "-DOPENGL_INCLUDE_DIR=${OpenGL}/Library/Frameworks" ]
|
||||||
++ optional enablePython [ "-DVTK_WRAP_PYTHON:BOOL=ON" ];
|
++ optional enablePython [ "-DVTK_WRAP_PYTHON:BOOL=ON" ];
|
||||||
|
|
||||||
@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Open source libraries for 3D computer graphics, image processing and visualization";
|
description = "Open source libraries for 3D computer graphics, image processing and visualization";
|
||||||
homepage = "http://www.vtk.org/";
|
homepage = "https://www.vtk.org/";
|
||||||
license = stdenv.lib.licenses.bsd3;
|
license = stdenv.lib.licenses.bsd3;
|
||||||
maintainers = with stdenv.lib.maintainers; [ knedlsepp ];
|
maintainers = with stdenv.lib.maintainers; [ knedlsepp ];
|
||||||
platforms = with stdenv.lib.platforms; unix;
|
platforms = with stdenv.lib.platforms; unix;
|
||||||
|
Loading…
Reference in New Issue
Block a user