Menu

#338 CoolReader-3.1.2-52 ignores some cmake options

All platforms
open
nobody
None
5
2015-02-07
2015-02-07
No

I use CoolReader3 only as fb2 files viewer.
So, I don't want to include into it doc (antiword) and chm support.
Configure options array is:

mycmakeargs="-D GUI=QT -D CHM_SUPPORT_ENABLED=0 -D ENABLE_ANTIWORD=0"

To enshure they are skipped prior to build I remove proper subdirectories:

rm -r thirdparty/antiword || die
rm -r thirdparty/chmlib || die

In this case build failes with the following error message:

Will build patched LIBCHM library

CMake Error at CMakeLists.txt:222 (ADD_SUBDIRECTORY):
add_subdirectory given source "thirdparty/chmlib" which is not an existing
directory.

Will build patched ANTIWORD library

CMake Error at CMakeLists.txt:232 (ADD_SUBDIRECTORY):
add_subdirectory given source "thirdparty/antiword" which is not an
existing directory.

Discussion


Log in to post a comment.