mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-21 14:35:15 -04:00
Do not use ACE internal yaml with spack
This commit is contained in:
parent
7f9c01eb84
commit
c55ce8db39
2 changed files with 8 additions and 5 deletions
|
|
@ -13,7 +13,12 @@ cp2k_set_default_paths(ACE "ace")
|
|||
cp2k_include_dirs(
|
||||
ACE "ace/ace_couplings.h;ace-evaluator/ace_types.h;yaml-cpp/yaml.h")
|
||||
cp2k_find_libraries(ACE "pace")
|
||||
cp2k_find_libraries(ACE_YAML "yaml-cpp-pace")
|
||||
find_package(yaml-cpp-pace QUIET)
|
||||
if(yaml-cpp-pace_FOUND)
|
||||
cp2k_find_libraries(ACE_YAML "yaml-cpp-pace")
|
||||
else()
|
||||
cp2k_find_libraries(ACE_YAML "yaml")
|
||||
endif()
|
||||
cp2k_find_libraries(ACE_CNPY "cnpy")
|
||||
|
||||
find_package_handle_standard_args(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue