1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-29 05:29:11 +00:00

Produce error if src/config.h exists.

This commit is contained in:
Brenden Matthews 2009-12-07 10:08:01 -08:00
parent 4dcce0b386
commit c5cbb3c38f

View File

@ -2,6 +2,10 @@
include_directories(${conky_includes})
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/config.h)
message(FATAL_ERROR "You must remove the autotools generated file '${CMAKE_CURRENT_SOURCE_DIR}/config.h' in order to build with CMake.")
endif(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/config.h)
set(conky_sources colours.c combine.c common.c conky.c core.c diskio.c
entropy.c exec.c fs.c mail.c mixer.c net_stat.c template.c timed_thread.c
mboxscan.c read_tcp.c scroll.c specials.c tailhead.c temphelper.c