Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
c11bc131
Commit
c11bc131
authored
Jun 10, 2010
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fixes in CMake scripts
parent
7a715aa7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
CMakeLists.txt
CMakeLists.txt
+3
-0
CMakeLists.txt
modules/traincascade/CMakeLists.txt
+9
-8
No files found.
CMakeLists.txt
View file @
c11bc131
...
...
@@ -1239,6 +1239,9 @@ else()
message
(
STATUS
" Use TBB: NO"
)
endif
()
message
(
STATUS
""
)
message
(
STATUS
" Documentation: "
)
if
(
BUILD_LATEX_DOCS AND PDFLATEX_COMPILER
)
message
(
STATUS
" Build PDF YES"
)
else
()
...
...
modules/traincascade/CMakeLists.txt
View file @
c11bc131
...
...
@@ -13,8 +13,8 @@ include_directories(
"
${
CMAKE_SOURCE_DIR
}
/modules/legacy/include"
)
set
(
traincascade_libs opencv_core opencv_ml opencv_imgproc
opencv_objdetect opencv_highgui opencv_haartraining_engine
)
link_libraries
(
${
traincascade_libs
}
)
set
(
traincascade_libs opencv_core opencv_ml opencv_imgproc
opencv_objdetect opencv_highgui opencv_haartraining_engine
)
set
(
traincascade_files traincascade.cpp
cascadeclassifier.cpp cascadeclassifier.h
...
...
@@ -22,14 +22,15 @@ set(traincascade_files traincascade.cpp
haarfeatures.cpp haarfeatures.h
lbpfeatures.cpp lbpfeatures.h
imagestorage.cpp imagestorage.h
)
add_executable
(
traincascade
${
traincascade_files
}
)
add_dependencies
(
traincascade
${
traincascade_libs
}
)
set_target_properties
(
traincascade PROPERTIES
set
(
the_target opencv_traincascade
)
add_executable
(
${
the_target
}
${
traincascade_files
}
)
add_dependencies
(
${
the_target
}
${
traincascade_libs
}
)
set_target_properties
(
${
the_target
}
PROPERTIES
DEBUG_POSTFIX
"
${
OPENCV_DEBUG_POSTFIX
}
"
OUTPUT_NAME
"opencv_traincascade"
)
target_link_libraries
(
traincascade
${
traincascade_libs
}
)
target_link_libraries
(
${
the_target
}
${
traincascade_libs
}
)
install
(
TARGETS
traincascade
RUNTIME DESTINATION bin COMPONENT main
)
install
(
TARGETS
${
the_target
}
RUNTIME DESTINATION bin COMPONENT main
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment