]> Creatis software - bbtk.git/commitdiff
3403 vtk8itk5wx3-macos
authorEduardo DAVILA <davila@dhcp-26.b401.creatis.insa-lyon.fr>
Thu, 17 Mar 2022 13:40:50 +0000 (14:40 +0100)
committerEduardo DAVILA <davila@dhcp-26.b401.creatis.insa-lyon.fr>
Thu, 17 Mar 2022 13:40:50 +0000 (14:40 +0100)
kernel/src/bbtkConfigurationFile.cxx

index a103d45da63588dec8f54309011b8f9cbde33e4d..2b246b578ffeb5beb873a26821624aed681da0d2 100644 (file)
@@ -623,7 +623,11 @@ namespace bbtk
     Utilities::replace(pack_path,INVALID_FILE_SEPARATOR,VALID_FILE_SEPARATOR);
     mPackage_paths.push_back(pack_path);
 
-    pack_path = path+"/../../lib64/creatools" ;
+    #ifdef MACOSX
+        pack_path = path+"/../../lib/creatools" ;
+    #else
+        pack_path = path+"/../../lib64/creatools" ;
+    #endif 
     PACKPATH = BB.addChild((XMLCSTR)"package_path");
     PACKPATH.addText((XMLCSTR)pack_path.c_str());
     Utilities::replace(pack_path,INVALID_FILE_SEPARATOR,VALID_FILE_SEPARATOR);