-
Notifications
You must be signed in to change notification settings - Fork 13
/
CMakeLists.txt
executable file
·43 lines (36 loc) · 993 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
if(POLICY CMP0020)
CMAKE_POLICY(SET CMP0020 NEW)
endif()
if(POLICY CMP0054)
cmake_policy(SET CMP0054 NEW)
endif()
include_directories(
${CMAKE_SOURCE_DIR}/cherish
${CMAKE_SOURCE_DIR}/libSGEntities
)
add_subdirectory(CurveFitting/libPathFitter)
add_subdirectory(ParallelTransportFrame/libPTFTube)
link_directories(${CMAKE_BINARY_DIR}/src/libNumerics/CurveFitting/libPathFitter)
link_directories(${CMAKE_BINARY_DIR}/src/libNumerics/ParallelTransportFrame/libPTFTube)
set (libNumerics_SRCS
HomographyMatrix.h
HomographyMatrix.cpp
libHomogrpahy/matrix.cpp
libHomogrpahy/matrix.h
libHomogrpahy/vector.cpp
libHomogrpahy/Hmatrix.h
libHomogrpahy/SVD.h
libHomogrpahy/ccmath_svd.cpp
libHomogrpahy/LM.h
libHomogrpahy/alternatives.h
)
add_library(libNumerics STATIC
${libNumerics_SRCS}
)
target_link_libraries( libNumerics
libPathFitter
libPTFTube
${QT_LIBRARIES}
${OPENSCENEGRAPH_LIBRARIES}
#${OpenCV_LIBS}
)