diff --git a/unittests/unit/CMakeLists.txt b/unittests/unit/CMakeLists.txt index 64005f5eadaca..471301214e8f1 100644 --- a/unittests/unit/CMakeLists.txt +++ b/unittests/unit/CMakeLists.txt @@ -1,4 +1,4 @@ -if(NOT MSVC) +if(MSVC) dart_add_test("unit" test_Aspect) dart_add_test("unit" test_CollisionGroups) foreach(collision_engine @@ -19,7 +19,7 @@ dart_add_test("unit" test_LocalResourceRetriever) dart_add_test("unit" test_Math) dart_add_test("unit" test_Optimizer) dart_add_test("unit" test_Random) -if(NOT MSVC) +if(MSVC) dart_add_test("unit" test_ScrewJoint) dart_add_test("unit" test_Signal) dart_add_test("unit" test_Subscriptions) @@ -42,7 +42,7 @@ if(TARGET dart-utils) dart_add_test("unit" test_DartResourceRetriever) target_link_libraries(test_DartResourceRetriever dart-utils) - if(NOT MSVC) + if(MSVC) dart_add_test("unit" test_FileInfoWorld) target_link_libraries(test_FileInfoWorld dart-utils) endif() @@ -50,7 +50,7 @@ if(TARGET dart-utils) dart_add_test("unit" test_PackageResourceRetriever) target_link_libraries(test_PackageResourceRetriever dart-utils) - if(NOT MSVC) + if(MSVC) dart_add_test("unit" test_MjcfParser) target_link_libraries(test_MjcfParser dart-utils) @@ -67,7 +67,7 @@ if(TARGET dart-utils) endif() if(TARGET dart-utils-urdf) - if(NOT MSVC) + if(MSVC) dart_add_test("unit" test_DartLoader) target_link_libraries(test_DartLoader dart-utils-urdf) endif()