diff --git a/CMakeLists.txt b/CMakeLists.txt index 12987796dd..811a55a918 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -728,7 +728,7 @@ endif() # Find OpenCascade, required for STEP plugin and tools if( KICAD_USE_OCC ) - find_package(OpenCASCADE) + find_package(OCC) if( NOT OCC_FOUND ) MESSAGE( FATAL_ERROR "================================================================\n" " KICAD_USE_OCC=True but OpenCASCADE was not found!\n" diff --git a/CMakeModules/FindOpenCASCADE.cmake b/CMakeModules/FindOCC.cmake similarity index 100% rename from CMakeModules/FindOpenCASCADE.cmake rename to CMakeModules/FindOCC.cmake