Skip to content

Commit

Permalink
(#12840) bzip2: fix BZIP2_FOUND in CMakeDeps
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceIm authored Sep 6, 2022
1 parent a0a72a3 commit d8992e6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions recipes/bzip2/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ def package(self):
def _create_cmake_module_variables(self, module_file):
content = textwrap.dedent("""\
set(BZIP2_NEED_PREFIX TRUE)
if(NOT DEFINED BZIP2_FOUND AND DEFINED BZip2_FOUND)
set(BZIP2_FOUND ${BZip2_FOUND})
endif()
set(BZIP2_FOUND TRUE)
if(NOT DEFINED BZIP2_INCLUDE_DIRS AND DEFINED BZip2_INCLUDE_DIRS)
set(BZIP2_INCLUDE_DIRS ${BZip2_INCLUDE_DIRS})
endif()
Expand Down

0 comments on commit d8992e6

Please sign in to comment.