diff options
author | Mike Danes <onemihaid@hotmail.com> | 2016-01-10 16:04:05 +0200 |
---|---|---|
committer | Mike Danes <onemihaid@hotmail.com> | 2016-01-10 16:04:05 +0200 |
commit | d2fb8cb758c1a1ae84031178ba96310701beff65 (patch) | |
tree | e2182885d5aa166e950cd6acc7814d36f2810169 /src/binder | |
parent | 2a52c91242ca3010803e85f5857b977f470a0510 (diff) | |
download | coreclr-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/binder')
-rw-r--r-- | src/binder/CMakeLists.txt | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/binder/CMakeLists.txt b/src/binder/CMakeLists.txt index 9026958ab1..7180623f00 100644 --- a/src/binder/CMakeLists.txt +++ b/src/binder/CMakeLists.txt @@ -1,16 +1,5 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON) - -if(CLR_CMAKE_PLATFORM_ARCH_AMD64) - include_directories(BEFORE "../vm/amd64") -elseif(CLR_CMAKE_PLATFORM_ARCH_I386) - include_directories(BEFORE "../vm/i386") -elseif(CLR_CMAKE_PLATFORM_ARCH_ARM) - include_directories(BEFORE "../vm/arm") -elseif(CLR_CMAKE_PLATFORM_ARCH_ARM64) - include_directories(BEFORE "../vm/arm64") -else() - clr_unknown_arch() -endif() +include_directories(BEFORE "../vm/${ARCH_SOURCES_DIR}") include_directories(BEFORE "../vm") include_directories(BEFORE "inc") |