Skip to content

Commit

Permalink
Remove now useless CMake variables
Browse files Browse the repository at this point in the history
  • Loading branch information
wawanbreton committed Jun 12, 2024
1 parent a5ad00e commit 3247e49
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,6 @@ def generate(self):
if is_msvc(self):
tc.variables["USE_MSVC_RUNTIME_LIBRARY_DLL"] = not is_msvc_static_runtime(self)
tc.cache_variables["CMAKE_POLICY_DEFAULT_CMP0077"] = "NEW"
tc.variables["Python_EXECUTABLE"] = self.deps_user_info["cpython"].python.replace("\\", "/")
tc.variables["Python_USE_STATIC_LIBS"] = not self.options["cpython"].shared
tc.variables["Python_ROOT_DIR"] = self.deps_cpp_info["cpython"].rootpath.replace("\\", "/")
tc.variables["Python_FIND_FRAMEWORK"] = "NEVER"
tc.variables["Python_FIND_REGISTRY"] = "NEVER"
tc.variables["Python_FIND_IMPLEMENTATIONS"] = "CPython"
tc.variables["Python_FIND_STRATEGY"] = "LOCATION"
tc.variables["Python_SITEARCH"] = "site-packages"
tc.generate()

vb = VirtualBuildEnv(self)
Expand Down

0 comments on commit 3247e49

Please sign in to comment.