Make this stuff compile on MSVC

This commit is contained in:
Enno Rehling 2012-06-03 23:38:24 -07:00
parent c5aa169c47
commit 51df8f5a71

View File

@ -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")