diff --git a/CMakeLists.txt b/CMakeLists.txt index bf534530b78f67c4e81c69b4fcd268b8e727b5ca..4b78a956221ac6f07c66d0c287f7431ca56d6f1f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -266,7 +266,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") # MCJIT isn't adding the compiler-rt library so explicitly add it. This is only # shown to happen on macOS but may affect Linux as well. find_library (MACOS_LIB_RT "clang_rt.osx" - PATHS /Applications/Xcode*.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/*/lib/darwin + PATHS /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/*/lib/darwin REQUIRED ) endif ()