summary refs log tree commit diff
path: root/cmake
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-06-04 13:54:51 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-06-04 13:54:51 +0300
commit0a9d95dfc9ef2c7e822257cc7b256cdd24d4a0d3 (patch)
treec708e27bb7b74e3571dd6c082847fa1d7a3e587a /cmake
parentBump version to v0.4.3 (diff)
downloadnheko-0a9d95dfc9ef2c7e822257cc7b256cdd24d4a0d3.tar.xz
Include mtxclient in the build
Diffstat (limited to 'cmake')
-rw-r--r--cmake/MatrixStructs.cmake33
1 files changed, 0 insertions, 33 deletions
diff --git a/cmake/MatrixStructs.cmake b/cmake/MatrixStructs.cmake
deleted file mode 100644
index af694c0f..00000000
--- a/cmake/MatrixStructs.cmake
+++ /dev/null
@@ -1,33 +0,0 @@
-include(ExternalProject)
-
-#
-# Build matrix-structs.
-#
-
-set(THIRD_PARTY_ROOT ${CMAKE_SOURCE_DIR}/.third-party)
-set(MATRIX_STRUCTS_ROOT ${THIRD_PARTY_ROOT}/matrix_structs)
-set(MATRIX_STRUCTS_INCLUDE_DIR ${MATRIX_STRUCTS_ROOT}/include)
-set(MATRIX_STRUCTS_LIBRARY matrix_structs)
-
-link_directories(${MATRIX_STRUCTS_ROOT})
-
-set(WINDOWS_FLAGS "")
-
-if(MSVC)
-    set(WINDOWS_FLAGS "-DCMAKE_GENERATOR_PLATFORM=x64")
-endif()
-
-ExternalProject_Add(
-  MatrixStructs
-
-  GIT_REPOSITORY https://github.com/mujx/matrix-structs
-  GIT_TAG 5e57c2385a79b6629d1998fec4a7c0baee23555e
-
-  BUILD_IN_SOURCE 1
-  SOURCE_DIR ${MATRIX_STRUCTS_ROOT}
-  CONFIGURE_COMMAND ${CMAKE_COMMAND}
-    -DCMAKE_BUILD_TYPE=Release ${MATRIX_STRUCTS_ROOT}
-    ${WINDOWS_FLAGS}
-  BUILD_COMMAND ${CMAKE_COMMAND} --build ${MATRIX_STRUCTS_ROOT} --config Release
-  INSTALL_COMMAND ""
-)