geant4: enable on darwin
This commit is contained in:
parent
10ca1b2864
commit
d5fccdcd49
|
@ -71,6 +71,9 @@ stdenv.mkDerivation rec {
|
|||
"-DGEANT4_USE_SYSTEM_EXPAT=${if expat != null then "ON" else "OFF"}"
|
||||
"-DGEANT4_USE_SYSTEM_ZLIB=${if zlib != null then "ON" else "OFF"}"
|
||||
"-DGEANT4_BUILD_MULTITHREADED=${if enableMultiThreading then "ON" else "OFF"}"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
"-DXQuartzGL_INCLUDE_DIR=${libGL.dev}/include"
|
||||
"-DXQuartzGL_gl_LIBRARY=${libGL}/lib/libGL.dylib"
|
||||
] ++ lib.optionals (enableMultiThreading && enablePython) [
|
||||
"-DGEANT4_BUILD_TLS_MODEL=global-dynamic"
|
||||
] ++ lib.optionals enableInventor [
|
||||
|
@ -129,6 +132,6 @@ stdenv.mkDerivation rec {
|
|||
homepage = "http://www.geant4.org";
|
||||
license = licenses.g4sl;
|
||||
maintainers = with maintainers; [ omnipotententity veprbl ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue