]> OCCT Git - occt-wok.git/commitdiff
0023851: CMake meta-projects, are generated by WOK, should use relative path to OCCT
authoribs <ibs@opencascade.com>
Fri, 22 Mar 2013 10:29:43 +0000 (14:29 +0400)
committeribs <ibs@opencascade.com>
Fri, 22 Mar 2013 11:57:34 +0000 (15:57 +0400)
src/WOKTclLib/OS.tcl

index 4909ec6a906979f0b8663c2e86b8adc9ccbcd6b2..6596aee24bd52b80963b2466cc756b3a95043997 100755 (executable)
@@ -2984,7 +2984,7 @@ proc OS:MKCMK { theOutDir {theModules {}} {theAllSolution ""} } {
   regsub -all -- {__PROJECT_NAME__} $theProjTmpl $aProjectName theProjTmpl
   regsub -all -- {__BITNESS__}      $theProjTmpl $::env(ARCH) theProjTmpl
   regsub -all -- {__WOK_LIB_PATH__} $theProjTmpl [file normalize $::env(WOK_LIBRARY)] theProjTmpl
-  regsub -all -- {__CASROOT_DIR__} $theProjTmpl "[OS:casroot]" theProjTmpl
+  regsub -all -- {__CASROOT_DIR__} $theProjTmpl "../.." theProjTmpl
 
 
   set aBuff [list]