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 Sep 6, 2024
1 parent f52af50 commit 8591eb8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +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_CMP0148"] = "OLD"
cpython_conf = self.dependencies["cpython"].conf_info
tc.variables["Python_EXECUTABLE"] = cpython_conf.get("user.cpython:python").replace("\\", "/")
tc.variables["Python_ROOT_DIR"] = cpython_conf.get("user.cpython:python_root").replace("\\", "/")
cpython_options = self.dependencies["cpython"].options
tc.variables["Python_USE_STATIC_LIBS"] = not cpython_options.shared
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 8591eb8

Please sign in to comment.