diff options
author | Vladimir Sadov <vsadov@microsoft.com> | 2021-02-20 07:40:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-20 07:40:14 +0300 |
commit | 2b53a0abd8194ac1005e5fb5db399a2eeb7fbfbf (patch) | |
tree | 3be909af9a4f75539fef8771cf1a506ffba334d0 /src/coreclr/CMakeLists.txt | |
parent | 629ad508bf386fcbfd684a636d5e2e1146f84066 (diff) |
Building singlefilehost with clr partition. (#48254)
* building single file host with clr partition
* make coreclr_static a STATIC lib again
Diffstat (limited to 'src/coreclr/CMakeLists.txt')
-rw-r--r-- | src/coreclr/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/coreclr/CMakeLists.txt b/src/coreclr/CMakeLists.txt index 9c9ba76da06..ac929b85ab9 100644 --- a/src/coreclr/CMakeLists.txt +++ b/src/coreclr/CMakeLists.txt @@ -126,6 +126,10 @@ if(FEATURE_STANDALONE_GC) endif (CLR_CMAKE_BUILD_SUBSET_RUNTIME) endif(FEATURE_STANDALONE_GC) +if(NOT CLR_CROSS_COMPONENTS_BUILD) + add_subdirectory(${CLR_SRC_NATIVE_DIR}/corehost/apphost/static Corehost.Static) +endif() + if (CLR_CMAKE_HOST_UNIX) include_directories("pal/inc") include_directories("pal/inc/rt") |