aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-09-13 14:30:57 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-09-13 14:30:57 -0400
commitd9eabde319bc035f710b106808022e9b5872f728 (patch)
tree798876d64f37829bdc3eb637ef35e648493afe8f /cmake
parent5931a6b1a5b8f4941fc9b78f8960745f81594f17 (diff)
downloadzig-d9eabde319bc035f710b106808022e9b5872f728.tar.gz
zig-d9eabde319bc035f710b106808022e9b5872f728.zip
add Child property of slice type
also rename child field to Child for pointer and array
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Findllvm.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/Findllvm.cmake b/cmake/Findllvm.cmake
index b57107ca3a..f76735d3bf 100644
--- a/cmake/Findllvm.cmake
+++ b/cmake/Findllvm.cmake
@@ -104,9 +104,11 @@ else()
set(LLVM_LIBRARIES ${LLVM_LIBRARIES} ${LLVM_SYSTEM_LIBS})
- if(LLVM_LIBRARY)
+ if(LLVM_LIBRARY AND NOT LLVM_LIBRARIES)
set(LLVM_LIBRARIES ${LLVM_LIBRARY})
endif()
+
+ link_directories("${CMAKE_PREFIX_PATH}/lib")
endif()