Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Unknown CMake command "cmake_parse_arguments". #1131

Closed
hiraditya opened this issue Jan 1, 2016 · 1 comment
Closed

Unknown CMake command "cmake_parse_arguments". #1131

hiraditya opened this issue Jan 1, 2016 · 1 comment

Comments

@hiraditya
Copy link
Contributor

While compiling mxnet on Ubuntu 14.04, and when I disable CUDA, OPENCV, etc.
I found the solution which is to add:

diff --git a/cmake/Utils.cmake b/cmake/Utils.cmake
index 342689c..f34424d 100644
--- a/cmake/Utils.cmake
+++ b/cmake/Utils.cmake
@@ -1,3 +1,4 @@
+include(CMakeParseArguments)
################################################################################################

Command alias for debugging messages

Usage:

I found the solution here, please apply this patch if this is helpful. https://cmake.org/Bug/bug_relationship_graph.php?bug_id=14230&graph=dependency

@pluskid
Copy link
Contributor

pluskid commented Oct 19, 2016

Thanks for providing the link to patch.

@pluskid pluskid closed this as completed Oct 19, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants