commit-gnuradio
[Top][All Lists]
Advanced

[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)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]