summaryrefslogtreecommitdiff
path: root/src/gcinfo
diff options
context:
space:
mode:
authorMike Danes <onemihaid@hotmail.com>2016-01-10 16:04:05 +0200
committerMike Danes <onemihaid@hotmail.com>2016-01-10 16:04:05 +0200
commitd2fb8cb758c1a1ae84031178ba96310701beff65 (patch)
treee2182885d5aa166e950cd6acc7814d36f2810169 /src/gcinfo
parent2a52c91242ca3010803e85f5857b977f470a0510 (diff)
downloadcoreclr-d2fb8cb758c1a1ae84031178ba96310701beff65.tar.gz
coreclr-d2fb8cb758c1a1ae84031178ba96310701beff65.tar.bz2
coreclr-d2fb8cb758c1a1ae84031178ba96310701beff65.zip
Use ARCH_SOURCES_DIR consistently
Some places already use ARCH_SOURCES_DIR for things like include_directories but others test the platform/arch variables to figure out the dir. Use ARCH_SOURCES_DIR everywhere for consistency.
Diffstat (limited to 'src/gcinfo')
-rw-r--r--src/gcinfo/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gcinfo/CMakeLists.txt b/src/gcinfo/CMakeLists.txt
index 5a872c811d..d8b91d11f0 100644
--- a/src/gcinfo/CMakeLists.txt
+++ b/src/gcinfo/CMakeLists.txt
@@ -1,4 +1,3 @@
-
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set( GCINFO_SOURCES
@@ -9,7 +8,7 @@ set( GCINFO_SOURCES
if(CLR_CMAKE_PLATFORM_ARCH_I386)
list(APPEND GCINFO_SOURCES
../gcdump/gcdump.cpp
- ../gcdump/i386/gcdumpx86.cpp
+ ../gcdump/${ARCH_SOURCES_DIR}/gcdumpx86.cpp
)
endif(CLR_CMAKE_PLATFORM_ARCH_I386)