summaryrefslogtreecommitdiff
path: root/crossgen.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'crossgen.cmake')
-rw-r--r--crossgen.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/crossgen.cmake b/crossgen.cmake
index 8845bb5..476e000 100644
--- a/crossgen.cmake
+++ b/crossgen.cmake
@@ -19,7 +19,9 @@ remove_definitions(
if(WIN32)
add_definitions(-MT)
- add_definitions(-DFEATURE_READYTORUN_COMPILER)
+ if(FEATURE_READYTORUN)
+ add_definitions(-DFEATURE_READYTORUN_COMPILER)
+ endif(FEATURE_READYTORUN)
endif(WIN32)
if(CLR_CMAKE_PLATFORM_LINUX)