Skip to content

Commit 115436d

Browse files
caic99dyzheng
authored andcommitted
Build: add support to libxc 6. (#1711)
1 parent 545082b commit 115436d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ if(DEFINED Libxc_DIR)
322322
set(ENABLE_LIBXC ON)
323323
endif()
324324
if(ENABLE_LIBXC)
325-
find_package(Libxc 5.1.7 REQUIRED HINTS ${Libxc_DIR}/share/cmake/Libxc)
325+
find_package(Libxc 5.1.7 REQUIRED HINTS ${Libxc_DIR}/share/cmake/Libxc ${Libxc_DIR}/lib/cmake/Libxc)
326326
if(${Libxc_FOUND})
327327
message(STATUS "Found Libxc: version " ${Libxc_VERSION})
328328
target_link_libraries(${ABACUS_BIN_NAME} Libxc::xc)

0 commit comments

Comments
 (0)