Skip to content

Commit 0420eae

Browse files
committed
Use git repo for CML -- final repo URL to be updated once CML PR approved,
1 parent 9938587 commit 0420eae

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

unittest/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,11 @@ message("Octave command: ${OCTAVE_CMD}")
9797
include(ExternalProject)
9898
set(CML_PATH ${CMAKE_CURRENT_BINARY_DIR}/../cml)
9999
ExternalProject_Add(cml
100+
GIT_REPOSITORY https://github.com/tmiw/cml.git
100101
SOURCE_DIR ${CML_PATH}
101-
URL http://www.iterativesolutions.com/user/image/cml.1.10.zip
102102
BUILD_IN_SOURCE 1
103103
CONFIGURE_COMMAND true # No configuration required
104-
PATCH_COMMAND patch -N -p1 < ${CMAKE_CURRENT_SOURCE_DIR}/../octave/cml.patch || true
105-
BUILD_COMMAND cd ${CMAKE_CURRENT_BINARY_DIR}/../cml/source && CC="${CMAKE_CXX_COMPILER}" CFLAGS="-std=c++11" ${OCTAVE_CMD} -qf --eval "make"
104+
BUILD_COMMAND cd ${CMAKE_CURRENT_BINARY_DIR}/../cml/source && ${OCTAVE_CMD} -qf --eval "make"
106105
INSTALL_COMMAND true # No installation required
107106
)
108107

0 commit comments

Comments
 (0)