From 156112ef20db9552d7b91e0a92d295446d13287a Mon Sep 17 00:00:00 2001 From: DUC ANH HOANG Date: Fri, 20 Dec 2024 10:35:56 +0100 Subject: [PATCH] Revert "[EDF31321]: Add bootsrap in smesh's dependence" This reverts commit f55dbc13fbec4fec0e89940f7c102c7ab54ae90d. --- CMakeLists.txt | 12 ------------ src/SMESHUtils/CMakeLists.txt | 2 -- 2 files changed, 14 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a720e5588..290aa7c1c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,18 +41,6 @@ ENDIF() SALOME_SETUP_VERSION(9.13.0) MESSAGE(STATUS "Building ${PROJECT_NAME_UC} ${${PROJECT_NAME_UC}_VERSION} from \"${${PROJECT_NAME_UC}_GIT_SHA1}\"") - -# Find SalomeBootstrap -# =========== -SET(SALOMEBOOTSTRAP_ROOT_DIR $ENV{SALOMEBOOTSTRAP_ROOT_DIR} CACHE PATH "Path to the Salome Bootstrap") -IF(EXISTS ${SALOMEBOOTSTRAP_ROOT_DIR}) - FIND_PACKAGE(SalomeBootstrap REQUIRED) - ADD_DEFINITIONS(${SALOMEBOOTSTRAP_DEFINITIONS}) - INCLUDE_DIRECTORIES(${SALOMEBOOTSTRAP_INCLUDE_DIRS}) -ELSE(EXISTS ${SALOMEBOOTSTRAP_ROOT_DIR}) - MESSAGE(FATAL_ERROR "We absolutely need a Salome Bootstrap, please define SALOMEBOOTSTRAP_ROOT_DIR") -ENDIF(EXISTS ${SALOMEBOOTSTRAP_ROOT_DIR}) - # Find KERNEL # =========== SET(KERNEL_ROOT_DIR $ENV{KERNEL_ROOT_DIR} CACHE PATH "Path to the Salome KERNEL") diff --git a/src/SMESHUtils/CMakeLists.txt b/src/SMESHUtils/CMakeLists.txt index 2e1bf3f7d..872661bcc 100644 --- a/src/SMESHUtils/CMakeLists.txt +++ b/src/SMESHUtils/CMakeLists.txt @@ -23,7 +23,6 @@ INCLUDE_DIRECTORIES( ${KERNEL_INCLUDE_DIRS} ${OpenCASCADE_INCLUDE_DIR} ${Boost_INCLUDE_DIRS} - ${SALOMEBOOTSTRAP_INCLUDE_DIRS} ${PROJECT_SOURCE_DIR}/src/SMDS ) @@ -39,7 +38,6 @@ SET(_link_LIBRARIES ${OpenCASCADE_FoundationClasses_LIBRARIES} ${OpenCASCADE_ModelingData_LIBRARIES} ${Boost_LIBRARIES} - SALOMEException SMDS )