]> SALOME platform Git repositories - modules/shaper.git/blob - CMakeCommon/FindSalome.cmake
Salome HOME
Migration to VC9 and boost::shared_ptr with connection to SALOME
[modules/shaper.git] / CMakeCommon / FindSalome.cmake
1
2
3 SET(GUI_ROOT_DIR $ENV{GUI_ROOT_DIR} CACHE PATH "Path to the Salome GUI directory")
4 IF(EXISTS ${GUI_ROOT_DIR})
5         SET(HAVE_SALOME YES)
6   
7         FIND_LIBRARY(LightApp LightApp ${GUI_ROOT_DIR}/lib/salome)
8         FIND_LIBRARY(OCCViewer OCCViewer ${GUI_ROOT_DIR}/lib/salome)
9   
10         SET(SALOME_GUI_INCLUDE ${GUI_ROOT_DIR}/include/salome)
11         ADD_DEFINITIONS( -DHAVE_SALOME )
12 ENDIF(EXISTS ${GUI_ROOT_DIR})