<div dir="ltr">Hello guys,<div><br></div><div>In the package <a href="http://llvm.org/releases/3.7.0/clang+llvm-3.7.0-x86_64-apple-darwin.tar.xz">Clang for Mac OS X</a> 3.7.0, there is a new line issue in:</div><div><br></div><div>clang+llvm-3.7.0-x86_64-apple-darwin/share/llvm/cmake/LLVMConfig.cmake<br></div><div><br></div><div>If you want to use this .cmake, you have to change the second comment:</div><div><br></div><div> # Compute the CMake directory from the LLVMConfig.cmake file location.n get_filename_component(_LLVM_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)n # Compute the installation prefix from the LLVMConfig.cmake file location.n get_filename_component(LLVM_INSTALL_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)n get_filename_component(LLVM_INSTALL_PREFIX "${LLVM_INSTALL_PREFIX}" PATH)n get_filename_component(LLVM_INSTALL_PREFIX "${LLVM_INSTALL_PREFIX}" PATH)n get_filename_component(LLVM_INSTALL_PREFIX "${LLVM_INSTALL_PREFIX}" PATH)n set(_LLVM_LIBRARY_DIR "${LLVM_INSTALL_PREFIX}/lib")<br></div><div><br></div><div>with:</div><div><br></div><div><div> # Compute the CMake directory from the LLVMConfig.cmake file location.</div><div>get_filename_component(_LLVM_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)</div><div># Compute the installation prefix from the LLVMConfig.cmake file location.</div><div>get_filename_component(LLVM_INSTALL_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)</div><div>get_filename_component(LLVM_INSTALL_PREFIX "${LLVM_INSTALL_PREFIX}" PATH)</div><div>get_filename_component(LLVM_INSTALL_PREFIX "${LLVM_INSTALL_PREFIX}" PATH)</div><div>get_filename_component(LLVM_INSTALL_PREFIX "${LLVM_INSTALL_PREFIX}" PATH)</div><div>set(_LLVM_LIBRARY_DIR "${LLVM_INSTALL_PREFIX}/lib")</div></div><div><br></div><div>As you can see, we need to replace the "n" with \n.</div><div><br></div><div>Best regards,</div></div>