| 1 |
From 6e18651d7204b618501db3dcb3de700ac00f4f42 Mon Sep 17 00:00:00 2001 |
| 2 |
From: "A. Maitland Bottoms" <[email protected]> |
| 3 |
Date: Sun, 17 Jul 2022 17:22:01 -0400 |
| 4 |
Subject: [PATCH 4/4] debian source cml |
| 5 |
|
| 6 |
Debian source packages include cml source, so use it rather |
| 7 |
than let CMake fetch it from the git repository. |
| 8 |
--- |
| 9 |
CMakeLists.txt | 2 +- |
| 10 |
unittest/CMakeLists.txt | 6 +++--- |
| 11 |
2 files changed, 4 insertions(+), 4 deletions(-) |
| 12 |
|
| 13 |
--- a/CMakeLists.txt |
| 14 |
+++ b/CMakeLists.txt |
| 15 |
@@ -1390,6 +1390,6 @@ |
| 16 |
test_fsk_lib_4fsk_ldpc |
| 17 |
test_OFDM_modem_datac0_compression |
| 18 |
PROPERTIES |
| 19 |
- ENVIRONMENT "CML_PATH=${CMAKE_CURRENT_BINARY_DIR}/cml" |
| 20 |
+ ENVIRONMENT "CML_PATH=${PROJECT_SOURCE_DIR}/cml" |
| 21 |
) |
| 22 |
endif(UNITTEST) |
| 23 |
--- a/unittest/CMakeLists.txt |
| 24 |
+++ b/unittest/CMakeLists.txt |
| 25 |
@@ -75,13 +75,13 @@ |
| 26 |
message("Octave command: ${OCTAVE_CMD}") |
| 27 |
|
| 28 |
include(ExternalProject) |
| 29 |
-set(CML_PATH ${CMAKE_CURRENT_BINARY_DIR}/../cml) |
| 30 |
+set(CML_PATH ${CMAKE_CURRENT_BINARY_DIR}/../../cml) |
| 31 |
ExternalProject_Add(cml |
| 32 |
- GIT_REPOSITORY https://github.com/drowe67/cml.git |
| 33 |
+ # GIT_REPOSITORY https://github.com/drowe67/cml.git |
| 34 |
SOURCE_DIR ${CML_PATH} |
| 35 |
BUILD_IN_SOURCE 1 |
| 36 |
CONFIGURE_COMMAND true # No configuration required |
| 37 |
- BUILD_COMMAND cd ${CMAKE_CURRENT_BINARY_DIR}/../cml && make |
| 38 |
+ BUILD_COMMAND cd ${CMAKE_CURRENT_BINARY_DIR}/../../cml && make |
| 39 |
INSTALL_COMMAND true # No installation required |
| 40 |
) |
| 41 |
|