mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-29 06:35:28 -04:00
Workaround: Find mctc-lib before finding dftd4
This commit is contained in:
parent
c7741b115b
commit
34c62347d6
1 changed files with 1 additions and 0 deletions
|
|
@ -884,6 +884,7 @@ macro(cp2k_detect_dftd4_api)
|
|||
endmacro()
|
||||
|
||||
if(CP2K_USE_DFTD4)
|
||||
find_package(mctc-lib REQUIRED) # workaround: find mctc-lib first
|
||||
find_package(dftd4 REQUIRED)
|
||||
cp2k_detect_dftd4_api()
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue