From bfe6f1f78827453e5652808c33b3759098ae5a4d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 23 Dec 2015 12:07:50 +0100 Subject: Makefile.inc: s/curl_SOURCES/CURL_FILES This allows the root Makefile.am to include the Makefile.inc without causing automake to warn on it (variables named *_SOURCES are magic). curl_SOURCES is then instead assigned properly in src/Makefile.am only. Closes #577 --- src/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index bfb866bd9..cfcefb396 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -43,9 +43,10 @@ if(MSVC) list(APPEND CURL_SOURCE curl.rc) endif() +# CURL_FILES comes from Makefile.inc add_executable( ${EXE_NAME} - ${curl_SOURCES} + ${CURL_FILES} ) source_group("cURLX source files" FILES ${CURLX_CFILES}) -- cgit v1.2.3