From 51df8f5a7153ae7b4e7cdf58df85c3e554681cad Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 3 Jun 2012 23:38:24 -0700 Subject: [PATCH] Make this stuff compile on MSVC --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")