summaryrefslogtreecommitdiff
path: root/crossgen.cmake
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2016-01-18 11:50:50 +0100
committerJan Vorlicek <janvorli@microsoft.com>2016-01-18 11:50:50 +0100
commitaeaa86553db2ddd882df6577744cec45828886a5 (patch)
tree2042162df71f9a400849c2c09450978435cc5b40 /crossgen.cmake
parent893dc96ccf9b4163ff5506d8ef248a55734b9b74 (diff)
downloadcoreclr-aeaa86553db2ddd882df6577744cec45828886a5.tar.gz
coreclr-aeaa86553db2ddd882df6577744cec45828886a5.tar.bz2
coreclr-aeaa86553db2ddd882df6577744cec45828886a5.zip
Add ready to run support to unix crossgen
This change enables ready to run support in the unix crossgen that was accidentally not enabled when adding ready to run support for Unix in the past. Only the FEATURE_READYTORUN was set, but not the FEATURE_READYTORUN_COMPILER.
Diffstat (limited to 'crossgen.cmake')
-rw-r--r--crossgen.cmake7
1 files changed, 4 insertions, 3 deletions
diff --git a/crossgen.cmake b/crossgen.cmake
index 476e000aa7..6ff52347c1 100644
--- a/crossgen.cmake
+++ b/crossgen.cmake
@@ -19,11 +19,12 @@ remove_definitions(
if(WIN32)
add_definitions(-MT)
- if(FEATURE_READYTORUN)
- add_definitions(-DFEATURE_READYTORUN_COMPILER)
- endif(FEATURE_READYTORUN)
endif(WIN32)
+if(FEATURE_READYTORUN)
+ add_definitions(-DFEATURE_READYTORUN_COMPILER)
+endif(FEATURE_READYTORUN)
+
if(CLR_CMAKE_PLATFORM_LINUX)
add_definitions(-DFEATURE_PERFMAP)
endif(CLR_CMAKE_PLATFORM_LINUX)