From 23b0c424d98ced9f586a7f3f43e5ab1a498f95ad Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 3 Jun 2012 18:42:51 -0700 Subject: [PATCH] complete rewrite of cmake files --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d24f8b9..a83d2ef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ project (cutest C) -add_library (cutest CuTest.c) +add_library (${PROJECT_NAME} CuTest.c) add_executable (AllTests AllTests.c CuTestTest.c) target_link_libraries (AllTests cutest) @@ -15,4 +15,4 @@ if (${MSVC_FOUND}) endif (${MSVC_FOUND}) set (CUTEST_INCLUDE_DIR ${CMAKE_CURRENT_LIST_DIR} CACHE INTERNAL "CuTest headers") - +set (CUTEST_LIBRARIES cutest CACHE INTERNAL "CuTest libraries")