diff options
author | Josh Blum <josh@joshknows.com> | 2011-07-22 11:39:09 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-07-22 11:39:09 -0700 |
commit | 6e83524a35127636b7a7ac2b9becb3915e98e7bb (patch) | |
tree | 5c75dc6e15640de587f60c0c812c88af9ba20848 | |
parent | a988e3d4f96b2eb9461cd31761ecd2bbe310d42a (diff) |
volk: fix bug in finding machines by using absolute path
-rw-r--r-- | volk/lib/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/volk/lib/CMakeLists.txt b/volk/lib/CMakeLists.txt index 043d9bff67..0050f5f25f 100644 --- a/volk/lib/CMakeLists.txt +++ b/volk/lib/CMakeLists.txt @@ -31,7 +31,7 @@ EXECUTE_PROCESS( #this is really for compilers which can do both 32- and 64-bit compilations. EXECUTE_PROCESS( COMMAND ${PYTHON_EXECUTABLE} -c - "from xml.dom import minidom; print ';'.join(map(lambda a: '%s %s'%(a.parentNode.attributes['name'].value,a.firstChild.data),minidom.parse('../gen/archs.xml').getElementsByTagName('mutex')))" + "from xml.dom import minidom; print ';'.join(map(lambda a: '%s %s'%(a.parentNode.attributes['name'].value,a.firstChild.data),minidom.parse('${CMAKE_SOURCE_DIR}/gen/archs.xml').getElementsByTagName('mutex')))" OUTPUT_VARIABLE mutex_lines OUTPUT_STRIP_TRAILING_WHITESPACE ) |