0025244: CMake building procedure should support VTK usage
[occt.git] / adm / templates / custom.sh.in
1 #!/bin/bash
2
3 if [ "$COMPILER" == "@COMPILER@" ]; then
4   if [ "$ARCH" == "@COMPILER_BITNESS@" ]; then
5     if [ "$CASDEB" == "@BUILD_POSTFIX@" ]; then
6       export TCL_DIR="@3RDPARTY_TCL_LIBRARY_DIR@"
7       export FREETYPE_DIR="@3RDPARTY_FREETYPE_LIBRARY_DIR@"
8       export FREEIMAGE_DIR="@3RDPARTY_FREEIMAGE_LIBRARY_DIR@"
9       export GL2PS_DIR="@3RDPARTY_GL2PS_LIBRARY_DIR@"
10       export TBB_DIR="@3RDPARTY_TBB_LIBRARY_DIR@"
11           export VTK_DIR="@3RDPARTY_VTK_LIBRARY_DIR@"
12     fi
13   fi
14 fi
15