summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-12-23 12:07:50 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-12-23 12:07:50 +0100
commitbfe6f1f78827453e5652808c33b3759098ae5a4d (patch)
tree5ccaf3b5c24f7691e7c0b56c46441d955bbdab80 /src/CMakeLists.txt
parenta464f33843ee11b0bf8cfcfd927b9a3c37b2aed0 (diff)
downloadcurl-bfe6f1f78827453e5652808c33b3759098ae5a4d.tar.gz
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
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
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})