Skip to content

Commit a3c597f

Browse files
MMoryvulder
andauthored
For in tree builds we need to put phasar libs along side the llvm libs, otherwise, llvm/clang tools that are linked against phasar cannot find them.
Co-authored-by: Florian Sattler <vuld3r@gmail.com>
1 parent f081b49 commit a3c597f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmake/phasar_macros.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ macro(add_phasar_library name)
193193
if(PHASAR_IN_TREE)
194194
install(TARGETS ${name}
195195
EXPORT LLVMExports
196-
LIBRARY DESTINATION ${PHASAR_INSTALL_LIBDIR}
197-
ARCHIVE DESTINATION ${PHASAR_INSTALL_LIBDIR})
196+
LIBRARY DESTINATION lib
197+
ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX})
198198
else()
199199
install(TARGETS ${name}
200200
EXPORT phasarTargets

0 commit comments

Comments
 (0)