aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/CMakeLists.txt
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2019-01-15 00:36:03 +0100
committerDave Barach <openvpp@barachs.net>2019-01-17 20:43:27 +0000
commitdd3952923a2cfb9fa2276a4f1f6512ff75e1a155 (patch)
tree6065513bac01b665c1925d31cf8b7d982ac9acd5 /src/plugins/dpdk/CMakeLists.txt
parent58a93e8ef288b0bae75ec7186ba96bdcaf85d0d4 (diff)
cmake: initial cross-compilation support
Change-Id: Ib9c2aba1eda08a22465441e33553b9b744c79d56 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/CMakeLists.txt')
-rw-r--r--src/plugins/dpdk/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/dpdk/CMakeLists.txt b/src/plugins/dpdk/CMakeLists.txt
index 45605baada0..36a369c0a7b 100644
--- a/src/plugins/dpdk/CMakeLists.txt
+++ b/src/plugins/dpdk/CMakeLists.txt
@@ -11,6 +11,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+if (CMAKE_CROSSCOMPILING)
+ # not supported yet
+ return()
+endif()
+
##############################################################################
# Find lib and include files
##############################################################################