aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--ClazySources.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a30813f8..e67f72c7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -229,7 +229,7 @@ if (NOT CLAZY_BUILD_WITH_CLANG)
# Build clazy-standalone
add_executable(clazy-standalone ${CLAZY_STANDALONE_SRCS})
- if(MSVC)
+ if(WIN32)
# On MSVC clang-standalone crashes with a meaningless backtrace if linked to ClazyPlugin.dll
target_link_libraries(clazy-standalone clangFrontend)
else()
diff --git a/ClazySources.cmake b/ClazySources.cmake
index 7969d56d..960f5b53 100644
--- a/ClazySources.cmake
+++ b/ClazySources.cmake
@@ -33,7 +33,7 @@ set(CLAZY_PLUGIN_SRCS # Sources for the plugin
${CLAZY_SHARED_SRCS}
)
-if (MSVC)
+if (WIN32)
set(CLAZY_STANDALONE_SRCS
${CLAZY_SHARED_SRCS}
${CMAKE_CURRENT_LIST_DIR}/src/ClazyStandaloneMain.cpp