DanBloomberg / leptonica

Leptonica is an open source library containing software that is broadly useful for image processing and image analysis applications. The official github repository for Leptonica is: danbloomberg/leptonica. See leptonica.org for more documentation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please fix CMake for build Debug on linux

zappaz00 opened this issue · comments

commented

CXX for project : without it check_cxx_compiler_flag undefined and debug version on linux configuring with errors "check_compiler_flag: CXX: needs to be enabled before use." Errors from 277 line of CMakeLists.txt

Way to fix:
image

commented

Leptonica is C project, so define it as CXX is misleading...
Can you please provide minimal example case for replicating problem?

#697

!@zdenop,

You removed CXX from the project command, but there are still some other CXX left.

CMAKE_CXX_COMPILER_ID

include(CheckCXXCompilerFlag)

check_cxx_compiler_flag

CMAKE_CXX_FLAGS