diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index baa9666dc..3072667db 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -17,7 +17,7 @@ endif() add_executable( ${EXE_NAME} - ${curl_SOURCES} + ${CURL_ALLFILES} ) source_group("cURLX source files" FILES ${CURLX_ONES}) diff --git a/src/Makefile.inc b/src/Makefile.inc index 825bcffd4..4ecb104c7 100644 --- a/src/Makefile.inc +++ b/src/Makefile.inc @@ -9,7 +9,7 @@ # libcurl has sources that provide functions named curlx_* that aren't part of # the official API, but we re-use the code here to avoid duplication. -CURLX_ONES = $(top_srcdir)/lib/strtoofft.c \ +CURLX_ONES = $(top_srcdir)/lib/strtoofft.c \ $(top_srcdir)/lib/strdup.c \ $(top_srcdir)/lib/rawstr.c \ $(top_srcdir)/lib/nonblock.c @@ -21,5 +21,5 @@ CURL_HFILES = hugehelp.h setup.h config-win32.h config-mac.h \ config-riscos.h urlglob.h version.h os-specific.h \ writeout.h writeenv.h getpass.h homedir.h curlutil.h -curl_SOURCES = $(CURL_SOURCES) $(CURLX_ONES) $(CURL_HFILES) +CURL_ALLFILES = $(CURL_SOURCES) $(CURLX_ONES) $(CURL_HFILES)