From 1b0cdb7d25b25d5303d96659c352a6c73cc8eb51 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 17 Jun 2022 19:40:05 +0300 Subject: [PATCH] Fix misprints in OCCT detection procedure --- cmake/FindSalomeOpenCASCADE.cmake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmake/FindSalomeOpenCASCADE.cmake b/cmake/FindSalomeOpenCASCADE.cmake index 3bc42d2..68caad8 100644 --- a/cmake/FindSalomeOpenCASCADE.cmake +++ b/cmake/FindSalomeOpenCASCADE.cmake @@ -19,7 +19,7 @@ # Author: Roman NIKOLAEV # -# OpenCascade detection for Salome +# OpenCASCADE detection for Salome # # !! Please read the generic detection procedure in SalomeMacros.cmake !! # @@ -34,12 +34,12 @@ ENDIF() IF(OpenCASCADE_FOUND) IF(NOT CAS_FIND_QUIETLY) - MESSAGE(STATUS "Found OpenCascade version: ${OpenCASCADE_VERSION}") + MESSAGE(STATUS "Found OpenCASCADE version: ${OpenCASCADE_VERSION}") ENDIF() # OPENCASCADE definitions - SET(OpenCascade_DEFINITIONS ${OpenCASCADE_C_FLAGS} ${OpenCASCADE_CXX_FLAGS}) - SET(OpenCascade_LDFLAGS ${OpenCASCADE_LINKER_FLAGS}) + SET(OpenCASCADE_DEFINITIONS ${OpenCASCADE_C_FLAGS} ${OpenCASCADE_CXX_FLAGS}) + SET(OpenCASCADE_LDFLAGS ${OpenCASCADE_LINKER_FLAGS}) SALOME_ACCUMULATE_HEADERS(OpenCASCADE_INCLUDE_DIR) SALOME_ACCUMULATE_ENVIRONMENT(LD_LIBRARY_PATH ${OpenCASCADE_LIBRARY_DIR}) @@ -59,4 +59,4 @@ ELSE() IF(NOT CAS_FIND_QUIETLY) MESSAGE(STATUS "Could not find OpenCASCADE ...") ENDIF() -ENDIF() \ No newline at end of file +ENDIF() -- 2.39.2