From: ibs Date: Fri, 22 Mar 2013 10:29:43 +0000 (+0400) Subject: 0023851: CMake meta-projects, are generated by WOK, should use relative path to OCCT X-Git-Tag: V6_7_1~54 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=bdf451f06661e2b17e0e396e590df08e0e764f30;p=occt-wok.git 0023851: CMake meta-projects, are generated by WOK, should use relative path to OCCT --- diff --git a/src/WOKTclLib/OS.tcl b/src/WOKTclLib/OS.tcl index 4909ec6..6596aee 100755 --- a/src/WOKTclLib/OS.tcl +++ b/src/WOKTclLib/OS.tcl @@ -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]