diff --git a/CMakeLists.txt b/CMakeLists.txt index f8c72f5..0f0c4a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,7 +46,8 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/sourceCode) ADD_DEFINITIONS(-DSG_API_LIBRARY) if(OPENCV_VERSION STREQUAL "320") - ADD_LIBRARY(baseAlgorithm SHARED sourceCode/SG_baseFunc.cpp + ADD_LIBRARY(baseAlgorithm SHARED sourceCode/dataFitting.cpp + sourceCode/SG_baseFunc.cpp sourceCode/SG_clustering.cpp sourceCode/SG_featureGrow.cpp sourceCode/SG_lineFeature.cpp @@ -72,6 +73,10 @@ if(OPENCV_VERSION STREQUAL "320") ADD_LIBRARY(rodAndBarDetection SHARED sourceCode/rodAndBarDetection.cpp) ADD_LIBRARY(bagThreadPositioning SHARED sourceCode/bagThreadPositioning.cpp) + + ADD_LIBRARY(workpieceHolePositioning SHARED sourceCode/workpieceHolePositioning.cpp) + + # ADD_LIBRARY(motorStatorPosition SHARED sourceCode/motorStatorPosition.cpp) elseif(OPENCV_VERSION STREQUAL "480") ADD_LIBRARY(binocularMarkCam SHARED sourceCode/binocularMarkCam.cpp