diff --git a/Tests/CxxOnly/CMakeLists.txt b/Tests/CxxOnly/CMakeLists.txt index 4654f44ec..d621499cc 100644 --- a/Tests/CxxOnly/CMakeLists.txt +++ b/Tests/CxxOnly/CMakeLists.txt @@ -2,7 +2,7 @@ project (CxxOnly CXX) set(CMAKE_DEBUG_POSTFIX "_test_debug_postfix") -if(MSVC) +if(WIN32) set(EXTRA_SRCS test.CPP) endif() add_library(testcxx1 STATIC libcxx1.cxx ${EXTRA_SRCS})