Browse Source

Clean up CMAKE files

submodule
Trevor Irons 7 years ago
parent
commit
b2dab427fd
1 changed files with 2 additions and 6 deletions
  1. 2
    6
      CMakeLists.txt

+ 2
- 6
CMakeLists.txt View File

36
 # External Projects
36
 # External Projects
37
 ###################
37
 ###################
38
 include(ExternalProject)
38
 include(ExternalProject)
39
+##########################################################################################
39
 # Eigen, this header-library is used extensively for linear algebra, matrices, and arrays
40
 # Eigen, this header-library is used extensively for linear algebra, matrices, and arrays
40
 # Mercurial (hg) repo pull, Would it be better to just download latest stable?
41
 # Mercurial (hg) repo pull, Would it be better to just download latest stable?
41
-#find_package(Eigen3 REQUIRED)
42
-#if (EIGEN3_FOUND)
43
-#	# do nothing
44
-#	include_directories(EIGEN3_INCLUDE_DIR)
45
-#else() 
46
-
47
 FIND_PROGRAM( HAVEHG hg
42
 FIND_PROGRAM( HAVEHG hg
48
   PATHS /usr/bin/ /bin ENV PATH NO_DEFAULT_PATH
43
   PATHS /usr/bin/ /bin ENV PATH NO_DEFAULT_PATH
49
 )
44
 )
66
 ENDIF()
61
 ENDIF()
67
 include_directories ("${CMAKE_INSTALL_PREFIX}/include/eigen3")
62
 include_directories ("${CMAKE_INSTALL_PREFIX}/include/eigen3")
68
 
63
 
64
+#############################################################################################
69
 # Yaml-cpp, this library is used extensively for serialisation of classes (class persistence) 
65
 # Yaml-cpp, this library is used extensively for serialisation of classes (class persistence) 
70
 ExternalProject_Add(YAML-CPP
66
 ExternalProject_Add(YAML-CPP
71
 	GIT_REPOSITORY  "https://github.com/jbeder/yaml-cpp.git"
67
 	GIT_REPOSITORY  "https://github.com/jbeder/yaml-cpp.git"

Loading…
Cancel
Save