summaryrefslogtreecommitdiff
path: root/src/gc/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/gc/CMakeLists.txt')
-rw-r--r--src/gc/CMakeLists.txt10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/gc/CMakeLists.txt b/src/gc/CMakeLists.txt
index d32d1c2..cba1aa9 100644
--- a/src/gc/CMakeLists.txt
+++ b/src/gc/CMakeLists.txt
@@ -39,15 +39,11 @@ set( GC_SOURCES_DAC
${GC_SOURCES_DAC_AND_WKS_COMMON})
if(FEATURE_STANDALONE_GC)
- if(CLR_CMAKE_PLATFORM_UNIX)
+ if(NOT CLR_CMAKE_PLATFORM_UNIX)
set ( GC_SOURCES_WKS
${GC_SOURCES_WKS}
- gcenv.unix.cpp)
- else()
- set ( GC_SOURCES_WKS
- ${GC_SOURCES_WKS}
- gcenv.windows.cpp)
- endif(CLR_CMAKE_PLATFORM_UNIX)
+ windows/gcenv.windows.cpp)
+ endif(NOT CLR_CMAKE_PLATFORM_UNIX)
endif(FEATURE_STANDALONE_GC)
convert_to_absolute_path(GC_SOURCES_WKS ${GC_SOURCES_WKS})