Don't enable libarchive support unless the headers were found
This commit is contained in:
parent
2b08d27a88
commit
6caf4707ba
|
@ -210,9 +210,9 @@ if(ENABLE_LIBTUNEPIMP AND TUNEPIMP_LIBRARIES AND TUNEPIMP_INCLUDE_DIRS)
|
||||||
set(HAVE_LIBTUNEPIMP ON)
|
set(HAVE_LIBTUNEPIMP ON)
|
||||||
endif(ENABLE_LIBTUNEPIMP AND TUNEPIMP_LIBRARIES AND TUNEPIMP_INCLUDE_DIRS)
|
endif(ENABLE_LIBTUNEPIMP AND TUNEPIMP_LIBRARIES AND TUNEPIMP_INCLUDE_DIRS)
|
||||||
|
|
||||||
if(ENABLE_SCRIPTING_ARCHIVES AND ARCHIVE_FOUND)
|
if(ENABLE_SCRIPTING_ARCHIVES AND ARCHIVE_FOUND AND ARCHIVE_INCLUDEDIR)
|
||||||
set(HAVE_LIBARCHIVE ON)
|
set(HAVE_LIBARCHIVE ON)
|
||||||
endif(ENABLE_SCRIPTING_ARCHIVES AND ARCHIVE_FOUND)
|
endif(ENABLE_SCRIPTING_ARCHIVES AND ARCHIVE_FOUND AND ARCHIVE_INCLUDEDIR)
|
||||||
|
|
||||||
if(ENABLE_SCRIPTING_PYTHON AND PYTHONLIBS_FOUND AND PYQT_SIP_DIR)
|
if(ENABLE_SCRIPTING_PYTHON AND PYTHONLIBS_FOUND AND PYQT_SIP_DIR)
|
||||||
set(HAVE_SCRIPTING_PYTHON ON)
|
set(HAVE_SCRIPTING_PYTHON ON)
|
||||||
|
|
Loading…
Reference in New Issue