3dpcp/.svn/pristine/98/9896224915ac3a2989e49be56e9099f9408a90ff.svn-base

46 lines
1.2 KiB
Text
Raw Normal View History

2012-09-16 12:33:11 +00:00
# Copyright (C) 2007 by Cristóbal Carnero Liñán
# grendel.ccl@gmail.com
#
# This file is part of cvBlob.
#
# cvBlob is free software: you can redistribute it and/or modify
# it under the terms of the Lesser GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# cvBlob is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# Lesser GNU General Public License for more details.
#
# You should have received a copy of the Lesser GNU General Public License
# along with cvBlob. If not, see <http://www.gnu.org/licenses/>.
#
IF (WITH_THERMO)
MESSAGE(STATUS "With cvblob")
find_package(OpenCV REQUIRED)
set(CVBLOB_SRCS
cvblob.cpp
cvlabel.cpp
cvaux.cpp
cvcontour.cpp
cvtrack.cpp
cvcolor.cpp
)
set_source_files_properties(${cvBlob_SRC}
PROPERTIES
COMPILE_FLAGS "-O3"
)
add_library(cvblob STATIC ${CVBLOB_SRCS})
IF(EXPORT_SHARED_LIBS)
add_library(cvblob_s SHARED ${CVBLOB_SRCS})
ENDIF(EXPORT_SHARED_LIBS)
ENDIF (WITH_THERMO)