Skip to content

Commit

Permalink
Clean CMake variables
Browse files Browse the repository at this point in the history
  • Loading branch information
wawanbreton committed Sep 16, 2024
1 parent 50a39dd commit 77f4118
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_policy(SET CMP0091 NEW)
project(pysavitar)
cmake_minimum_required(VERSION 3.20)
project(pysavitar)
cmake_policy(SET CMP0091 NEW)

find_package(Python REQUIRED)
find_package(savitar REQUIRED)
Expand Down
1 change: 0 additions & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ def generate(self):
tc = CMakeToolchain(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"
tc.generate()

vb = VirtualBuildEnv(self)
Expand Down

0 comments on commit 77f4118

Please sign in to comment.