Skip to content

Commit 906b9de

Browse files
authored
Use cache_variables for CMake options in conanfile.py
1 parent 75a04ec commit 906b9de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

conanfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def generate(self):
100100
tc.variables["ManiVault_DIR"] = manivault_dir
101101

102102
# Set some build options
103-
tc.variables["MV_UNITY_BUILD"] = "ON"
103+
tc.cache_variables["MV_UNITY_BUILD"] = "ON"
104104

105105
# Use vcpkg-installed dependencies if there are any
106106
if os.environ.get("VCPKG_ROOT", None):

0 commit comments

Comments
 (0)