Initial Intel Cmake Build System Patch

Jack,

To fix the parallel build issue, here is the patch:

— old/CMakeLists.txt 2014-07-03 14:30:55.431938000 -0500

+++ new/CMakeLists.txt 2014-07-03 14:29:26.873741000 -0500

@@ -596,6 +596,7 @@ set_target_properties(iomp5 PROPERTIES

LINKER_LANGUAGE C # use C Compiler for linking step (Windows should use link.exe directly)

SKIP_BUILD_RPATH true # have Mac linker -install_name just be “-install_name libiomp5.dylib”

)

+add_dependencies(lib iomp5)

Linking command will include libraries in ld_flags_libs

target_link_libraries(iomp5 ${ld_flags_libs})

Hope this helps!

Johnny

Jonathan,
Thanks. Your proposed change eliminates the parallel make failure on darwin.
Jack