diff options
author | Jeremy Koritzinsky <jekoritz@microsoft.com> | 2021-04-06 01:05:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-06 01:05:34 +0300 |
commit | 8d6cd81d8e3b0bfd602a321b582cf3d272842128 (patch) | |
tree | 38059897e8a2846a965a5ce717819924d050aee9 /src/coreclr/gc | |
parent | 49653839ef21f0cd886ee24caaf404ccaa1ac27e (diff) |
Reorganize CoreCLR native build to reduce CMake reconfigures when the build system is untouched (#49906)
Diffstat (limited to 'src/coreclr/gc')
-rw-r--r-- | src/coreclr/gc/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/coreclr/gc/sample/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/coreclr/gc/CMakeLists.txt b/src/coreclr/gc/CMakeLists.txt index 3ba1e888eb4..a6c4073d0b1 100644 --- a/src/coreclr/gc/CMakeLists.txt +++ b/src/coreclr/gc/CMakeLists.txt @@ -110,7 +110,7 @@ convert_to_absolute_path(GC_SOURCES ${GC_SOURCES}) add_library_clr(clrgc SHARED ${GC_SOURCES}) add_dependencies(clrgc eventing_headers) target_link_libraries(clrgc ${GC_LINK_LIBRARIES}) -install_clr(TARGETS clrgc) +install_clr(TARGETS clrgc DESTINATIONS . COMPONENT runtime) if(CLR_CMAKE_HOST_UNIX) # dprintf causes many warnings (https://github.com/dotnet/runtime/issues/8737) diff --git a/src/coreclr/gc/sample/CMakeLists.txt b/src/coreclr/gc/sample/CMakeLists.txt index 8dbdca3dc57..cf8c1694961 100644 --- a/src/coreclr/gc/sample/CMakeLists.txt +++ b/src/coreclr/gc/sample/CMakeLists.txt @@ -58,7 +58,7 @@ else() ../gcenv.unix.cpp) endif() -_add_executable(gcsample +add_executable_clr(gcsample ${SOURCES} ) |