Skip to content

Commit

Permalink
Merge pull request QMCPACK#4817 from ye-luo/fix-noomp
Browse files Browse the repository at this point in the history
Fix QMC_OMP=OFF compilation.
  • Loading branch information
ye-luo authored Nov 3, 2023
2 parents 252da53 + 1d37387 commit 3875da0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Platforms/OMPTarget/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
#// File created by: Ye Luo, yeluo@anl.gov, Argonne National Laboratory
#//////////////////////////////////////////////////////////////////////////////////////

set(OMP_RT_SRCS OMPallocator.cpp OMPDeviceManager.cpp)
set(OMP_RT_SRCS OMPallocator.cpp)
if(ENABLE_OFFLOAD)
set(OMP_RT_SRCS ${OMP_RT_SRCS} OMPDeviceManager.cpp)
endif(ENABLE_OFFLOAD)
set(OMP_LA_SRCS ompBLAS.cpp)

add_library(platform_omptarget_runtime ${OMP_RT_SRCS})
Expand Down

0 comments on commit 3875da0

Please sign in to comment.