summaryrefslogtreecommitdiff
path: root/clrdefinitions.cmake
diff options
context:
space:
mode:
authorJonghyun Park <parjong@gmail.com>2017-04-24 19:20:38 +0900
committerJan Vorlicek <janvorli@microsoft.com>2017-04-24 03:20:38 -0700
commit6899c2ae00414267f3d6c2029b7897d7374d46e1 (patch)
treef2c454facfd95b6f572cd653b85c79e388a34998 /clrdefinitions.cmake
parente1efbf4a587c44a73bdabcbf99d6fa2074065754 (diff)
downloadcoreclr-6899c2ae00414267f3d6c2029b7897d7374d46e1.tar.gz
coreclr-6899c2ae00414267f3d6c2029b7897d7374d46e1.tar.bz2
coreclr-6899c2ae00414267f3d6c2029b7897d7374d46e1.zip
Support FEATURE_DBGIPC override (#11164)
Diffstat (limited to 'clrdefinitions.cmake')
-rw-r--r--clrdefinitions.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/clrdefinitions.cmake b/clrdefinitions.cmake
index 3f4122ac6e..f14317d05a 100644
--- a/clrdefinitions.cmake
+++ b/clrdefinitions.cmake
@@ -110,10 +110,10 @@ if (CLR_CMAKE_PLATFORM_UNIX)
endif(CLR_CMAKE_PLATFORM_UNIX)
add_definitions(-DFEATURE_CORESYSTEM)
add_definitions(-DFEATURE_CORRUPTING_EXCEPTIONS)
-if(CLR_CMAKE_PLATFORM_UNIX AND (NOT CLR_CMAKE_PLATFORM_ANDROID))
- add_definitions(-DFEATURE_DBGIPC_TRANSPORT_DI)
- add_definitions(-DFEATURE_DBGIPC_TRANSPORT_VM)
-endif(CLR_CMAKE_PLATFORM_UNIX AND (NOT CLR_CMAKE_PLATFORM_ANDROID))
+if(FEATURE_DBGIPC)
+ add_definitions(-DFEATURE_DBGIPC_TRANSPORT_DI)
+ add_definitions(-DFEATURE_DBGIPC_TRANSPORT_VM)
+endif(FEATURE_DBGIPC)
if(FEATURE_EVENT_TRACE)
add_definitions(-DFEATURE_EVENT_TRACE=1)
endif(FEATURE_EVENT_TRACE)