Fix build of openmp after addition  of elf_common.cpp to libomptarget
@@ -131,10 +131,12 @@ COMMON_CMAKE_OPTS="-DOPENMP_ENABLE_LIBOMPTARGET=1
if [ "$AOMP_STANDALONE_BUILD" == 0 ]; then
COMMON_CMAKE_OPTS="$COMMON_CMAKE_OPTS
-DLLVM_MAIN_INCLUDE_DIR=$LLVM_PROJECT_ROOT/llvm/include
- -DDEVICELIBS_ROOT=$DEVICELIBS_ROOT"
+ -DDEVICELIBS_ROOT=$DEVICELIBS_ROOT
+ -DLIBOMPTARGET_LLVM_INCLUDE_DIRS=$LLVM_PROJECT_ROOT/llvm/include"
else
COMMON_CMAKE_OPTS="$COMMON_CMAKE_OPTS
- -DLLVM_MAIN_INCLUDE_DIR=$AOMP_REPOS/$AOMP_PROJECT_REPO_NAME/llvm/include"
+ -DLLVM_MAIN_INCLUDE_DIR=$AOMP_REPOS/$AOMP_PROJECT_REPO_NAME/llvm/include
+ -DLIBOMPTARGET_LLVM_INCLUDE_DIRS=$AOMP_REPOS/$AOMP_PROJECT_REPO_NAME/llvm/include"
fi
if [ "$AOMP_BUILD_CUDA" == 1 ] ; then
