From: rnv Date: Thu, 13 Feb 2020 11:39:57 +0000 (+0300) Subject: Use ${OpenCASCADE_BUILD_WITH_DEBUG} instead of ${OpenCASCADE_BUILD_TYPE} X-Git-Tag: V9_5_0a1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3e3fe83c5ba7e2875e036e1316eee2bfdebb18e9;p=tools%2Fconfiguration.git Use ${OpenCASCADE_BUILD_WITH_DEBUG} instead of ${OpenCASCADE_BUILD_TYPE} --- diff --git a/cmake/FindSalomeOpenCASCADE.cmake b/cmake/FindSalomeOpenCASCADE.cmake index 8dea8df..60c7859 100644 --- a/cmake/FindSalomeOpenCASCADE.cmake +++ b/cmake/FindSalomeOpenCASCADE.cmake @@ -48,7 +48,7 @@ IF(OpenCASCADE_FOUND) # In Debug ${OpenCASCADE_BINARY_DIR} and ${OpenCASCADE_LIBRARY_DIR} are stored in the # config file w/o "d" suffix. To be checked with latest version of OCCT. SET(SUFF "") - IF(${OpenCASCADE_BUILD_TYPE} STREQUAL "Debug") + IF(${OpenCASCADE_BUILD_WITH_DEBUG}) SET(SUFF "d") ENDIF() SALOME_ACCUMULATE_ENVIRONMENT(LD_LIBRARY_PATH ${OpenCASCADE_BINARY_DIR}${SUFF})