Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
(conan-io#12840) bzip2: fix BZIP2_FOUND in CMakeDeps
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceIm authored and ericLemanissier committed Sep 26, 2022
1 parent 32a841a commit 822d662
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 822d662

Please sign in to comment.