0026903: Configuration, CMake - 3rdparty search algorithms should have the same logic
authoribs <ibs@opencascade.com>
Mon, 16 Nov 2015 11:05:54 +0000 (14:05 +0300)
committerbugmaster <bugmaster@opencascade.com>
Mon, 23 Nov 2015 10:40:43 +0000 (13:40 +0300)
commite713baee32f421cf11337bf8d9323d0c9df91512
tree041a3471e4f107fac4babf7e1b90d5a39cf75ea6
parentd94d80e529122a739eb7677244a446e9e0d9f593
0026903: Configuration, CMake - 3rdparty search algorithms should have the same logic

the search algorithms fitted with one logic.

3rdparty_dir is not specified by-default
3rdparty_<name>_dir has higher priority than 3rdparty_dir

frameworks are considered on Mac OS;

CMake - continue method (cmake version >= 3.2) removed

vtk installation disabled

Mac OS X - link /usr/X11/lib if X11 library is linked

FILES parsing optimized

search X11 package for every time when it used on MAC

CSF_XwLibs used by a toolkit using Tk

break a package processing if all the files from FILES file have been processed
17 files changed:
CMakeLists.txt
adm/cmake/3rdparty_macro.cmake
adm/cmake/freetype.cmake
adm/cmake/occt_csf.cmake
adm/cmake/occt_defs_flags.cmake
adm/cmake/occt_macros.cmake
adm/cmake/occt_toolkit.cmake
adm/cmake/tbb.cmake
adm/cmake/tcl.cmake
adm/cmake/vardescr.cmake
adm/cmake/vtk.cmake
src/TKD3DHost/EXTERNLIB
src/TKDraw/EXTERNLIB
src/TKIVtkDraw/EXTERNLIB
src/TKOpenGl/EXTERNLIB
src/TKV3d/EXTERNLIB
src/TKViewerTest/EXTERNLIB