diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e9bdc1..fb7727b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ add_test (cutest CuTestTest) IF (MSVC) find_package (MSVC MODULE) - MSVC_CRT_SECURE_NO_WARNINGS (cutest CuTestTest) + MSVC_CRT_SECURE_NO_WARNINGS (${PROJECT_NAME} CuTestTest) ENDIF (MSVC) set (CUTEST_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "CuTest headers")