Skip to content

Commit

Permalink
Set libCEED install path for pkg-config in Spack builds
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiangrimberg committed Sep 21, 2023
1 parent 231ff4b commit 993d390
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions palace/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ set(LIBCEED_TEST_DEPS)
if(PALACE_WITH_OPENMP)
list(APPEND LIBCEED_TEST_DEPS OpenMP::OpenMP_CXX)
endif()
set(LIBCEED_DIR ${CMAKE_INSTALL_PREFIX})
find_libceed_pkgconfig("${LIBCEED_TEST_DEPS}" LIBCEED_TARGET)
if("${LIBCEED_TARGET}" STREQUAL "")
message(FATAL_ERROR "libCEED could not be found, be sure to set LIBCEED_DIR")
Expand Down

0 comments on commit 993d390

Please sign in to comment.