Skip to content

Commit

Permalink
Use set for defining legacy branch target
Browse files Browse the repository at this point in the history
`OPTION` only works with boolean arguments.
Use `SET` instead for allowing string input instead.
  • Loading branch information
Marroquin, Asgard committed Sep 18, 2020
1 parent 989be08 commit 2ac94b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -40,7 +40,7 @@ option(OPAE_BUILD_LEGACY "Enable building of OPAE legacy tools" OFF)
mark_as_advanced(OPAE_BUILD_LEGACY)

if(OPAE_BUILD_LEGACY)
option(OPAE_LEGACY_TAG "Desired branch for opae-legacy" master)
set(OPAE_LEGACY_TAG "release/2.0.0" CACHE STRING "Desired branch for opae-legacy")
mark_as_advanced(OPAE_LEGACY_TAG)
endif(OPAE_BUILD_LEGACY)

Expand Down

0 comments on commit 2ac94b0

Please sign in to comment.