Skip to content

Commit

Permalink
fixes ChemCache #78
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmrichard committed May 20, 2024
1 parent 0e21ffd commit 88c5614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/cmaize/user_api/cmaize_option.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function(cmaize_option _co_name _co_default_value _co_docstring)

# A set CMake variable (this includes CMake's cache) takes precedence over
# all else
if(DEFINED "${_co_name}")
if(DEFINED "${_co_name}" AND DEFINED "${${_co_name}}")
CMaizeProject(
set_config_option "${_co_project}" "${_co_name}" "${${_co_name}}"
)
Expand Down

0 comments on commit 88c5614

Please sign in to comment.