Commit f5c7cdda authored by 王芳良's avatar 王芳良

修改CMakeLists

parent 3676ea7d
Pipeline #875 failed with stages
cmake_minimum_required(VERSION 3.16) cmake_minimum_required(VERSION 3.16)
PROJECT (Ellipse) PROJECT (Ellipse)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0 -g")
find_package(VTK REQUIRED) find_package(VTK REQUIRED)
include(${VTK_USE_FILE}) include(${VTK_USE_FILE})
# INCLUDE_DIRECTORIES(${VTK_USE_FILE})
find_package(OpenCV REQUIRED) find_package(OpenCV REQUIRED)
message(STATUS "OpenCV library status:") message(STATUS "OpenCV library status:")
...@@ -20,7 +17,6 @@ find_package(Qt5Core REQUIRED) ...@@ -20,7 +17,6 @@ find_package(Qt5Core REQUIRED)
# 2. 此处设置为自己的cpp文件,直接添加即可 # 2. 此处设置为自己的cpp文件,直接添加即可
SET(SRC_FILES SET(SRC_FILES
main.cpp main.cpp
myHough.cpp
) )
set(HEAD_FILES set(HEAD_FILES
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment