Skip to content

Commit

Permalink
Define list of values for P4OVS_MODE variable (#697)
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Foster <[email protected]>
  • Loading branch information
ffoulkes authored Oct 15, 2024
1 parent 81aaa7c commit 46aab66
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ endif()
# OVS build mode #
##################

set_property(CACHE P4OVS_MODE PROPERTY STRINGS
"NONE;P4OVS;OVSP4RT;STUBS")

set(P4OVS_MODE "p4ovs" CACHE STRING "P4OVS build mode")
string(TOLOWER "${P4OVS_MODE}" P4OVS_MODE)

Expand Down

0 comments on commit 46aab66

Please sign in to comment.