cmake: use set for OPAE_LEGACY_TAG
The option macro only allows a boolean value.
Use the correct set macro instead.
@@ -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 "master" CACHE STRING "Desired branch for opae-legacy")
mark_as_advanced(OPAE_LEGACY_TAG)
endif(OPAE_BUILD_LEGACY)
