Skip to content

Commit

Permalink
CMake: Unused setter in openpmd_option (#1015)
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l authored Jun 24, 2021
1 parent 4b600a3 commit baaf349
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ function(openpmd_option name description default)
set_property(CACHE openPMD_USE_${name} PROPERTY
STRINGS "ON;TRUE;AUTO;OFF;FALSE"
)
if(openPMD_HAVE_${name})
set(openPMD_HAVE_${name} TRUE)
else()
set(openPMD_HAVE_${name})
endif()
# list of all possible options
set(openPMD_CONFIG_OPTIONS ${openPMD_CONFIG_OPTIONS} ${name} PARENT_SCOPE)
endfunction()
Expand Down

0 comments on commit baaf349

Please sign in to comment.