Skip to content

Commit 6904cee

Browse files
committed
Drop deprecated aliases for dependent options
`cmake_dependent_option()` may not create a cache entry when its dependencies are disabled. This makes the generic `abacus_rename_option()` migration unreliable and may result in incorrectly typed cache entries.
1 parent 5959d29 commit 6904cee

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,7 @@ function(abacus_rename_option old_name new_name)
106106
endfunction()
107107
abacus_rename_option(USE_OPENMP ENABLE_OPENMP)
108108
abacus_rename_option(USE_ABACUS_LIBM ENABLE_ABACUS_LIBM)
109-
abacus_rename_option(USE_ELPA ENABLE_ELPA)
110109
abacus_rename_option(INFO MATH_INFO)
111-
abacus_rename_option(EXX_DEV ENABLE_EXX_DEV)
112110

113111
if(DEFINED CACHE{ENABLE_LIBCOMM})
114112
message(

0 commit comments

Comments
 (0)