Skip to content

Commit

Permalink
flac: set CMP0077
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Apr 20, 2024
1 parent afb0c9a commit 6b122cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/flac/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def generate(self):
tc.variables["BUILD_EXAMPLES"] = False
tc.variables["BUILD_DOCS"] = False
tc.variables["BUILD_TESTING"] = False
tc.cache_variables["CMAKE_POLICY_DEFAULT_CMP0077"] = "NEW"
tc.generate()
cd = CMakeDeps(self)
cd.generate()
Expand Down Expand Up @@ -105,7 +106,6 @@ def package_info(self):
self.cpp_info.components["libflac"].system_libs += ["m"]

bin_path = os.path.join(self.package_folder, "bin")
self.output.info("Appending PATH environment variable: {}".format(bin_path))
self.env_info.PATH.append(bin_path)

# TODO: to remove in conan v2
Expand Down

0 comments on commit 6b122cb

Please sign in to comment.