[libomptarget] Build all libraries in libomptarget/
In standalone build, plugins where previously built in their subdirectory in plugins/ and tests couldn't find them. Differential Revision: https://reviews.llvm.org/D39920 llvm-svn: 317979
This commit is contained in:
parent
32ee3342d9
commit
3acaa701ad
|
@ -35,6 +35,9 @@ if(${LIBOMPTARGET_STANDALONE_BUILD})
|
|||
endif()
|
||||
set(LIBOMPTARGET_LIBDIR_SUFFIX "" CACHE STRING
|
||||
"suffix of lib installation directory, e.g. 64 => lib64")
|
||||
|
||||
# Build all libraries into a common place so that tests can find them.
|
||||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
|
||||
else()
|
||||
set(LIBOMPTARGET_ENABLE_WERROR ${LLVM_ENABLE_WERROR})
|
||||
# If building in tree, we honor the same install suffix LLVM uses.
|
||||
|
|
Loading…
Reference in New Issue