We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a83bb3 commit c41a80fCopy full SHA for c41a80f
CMakeLists.txt
@@ -101,6 +101,7 @@ endif()
101
###############################################################################
102
103
if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.cppan)
104
+if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.cppan OR NOT CPPAN_BUILD)
105
if (NOT Leptonica_DIR AND NOT MSVC)
106
find_package(PkgConfig REQUIRED)
107
pkg_check_modules(Leptonica REQUIRED lept>=${MINIMUM_LEPTONICA_VERSION})
0 commit comments