[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 04/05: build: check if VOLK submodule is ch
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 04/05: build: check if VOLK submodule is checked out |
Date: |
Mon, 30 Mar 2015 05:25:11 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch master
in repository gnuradio.
commit f46d7bc1f6f7d0e40fe3aef9798b98a0cdf27bbf
Author: Nathan West <address@hidden>
Date: Wed Mar 4 15:47:32 2015 -0600
build: check if VOLK submodule is checked out
---
CMakeLists.txt | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 262b24f..5eecc18 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -278,6 +278,15 @@ endif()
########################################################################
find_package(Volk)
if(NOT VOLK_FOUND)
+ find_file(INTREE_VOLK_FOUND
+ volk/volk_common.h
+ PATHS ${CMAKE_CURRENT_SOURCE_DIR}/volk/include
+ )
+
+ if(NOT INTREE_VOLK_FOUND)
+ message(FATAL_ERROR "VOLK submodule is not checked out")
+ endif()
+
include(GrComponent)
GR_REGISTER_COMPONENT("volk" ENABLE_VOLK)
- [Commit-gnuradio] [gnuradio] branch master updated (72c11a0 -> e3df182), git, 2015/03/30
- [Commit-gnuradio] [gnuradio] 02/05: add volk submodule, git, 2015/03/30
- [Commit-gnuradio] [gnuradio] 05/05: Updated volk submodule commit to latest, for implementing split, git, 2015/03/30
- [Commit-gnuradio] [gnuradio] 03/05: cmake: only build VOLK if it doesnt exist already, git, 2015/03/30
- [Commit-gnuradio] [gnuradio] 04/05: build: check if VOLK submodule is checked out,
git <=
- [Commit-gnuradio] [gnuradio] 01/05: remove volk to prepare for submodule, git, 2015/03/30