]> SALOME platform Git repositories - tools/configuration.git/commitdiff
Salome HOME
Use ${OpenCASCADE_BUILD_WITH_DEBUG} instead of ${OpenCASCADE_BUILD_TYPE}
authorrnv <rnv@opencascade.com>
Thu, 13 Feb 2020 11:39:57 +0000 (14:39 +0300)
committerrnv <rnv@opencascade.com>
Thu, 13 Feb 2020 11:39:57 +0000 (14:39 +0300)
cmake/FindSalomeOpenCASCADE.cmake

index 8dea8dfa929dc29444e27c1c41246cd46df1cc76..60c78599889d6921ecd6b7b992c403cffa5eb19c 100644 (file)
@@ -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})