summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-09-16 05:39:52 +0200
committerVicent Marti <tanoku@gmail.com>2011-09-16 05:48:50 +0200
commit48e97ed1f02d867ecd7f68a1657103b32c5af721 (patch)
tree277a9b71e66c2e09b173f7e068735bc6ecd7c989
parentfe4aa2066d964c789f9b6f91f95d867b9fc2dbcc (diff)
downloadlibgit2-48e97ed1f02d867ecd7f68a1657103b32c5af721.tar.gz
Rename Clay target in CMakeLists
This allows to build both test suites at the same time
-rw-r--r--CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fd4b5d31a..3b328289e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -141,14 +141,14 @@ IF (BUILD_CLAY)
INCLUDE_DIRECTORIES(tests-clay)
FILE(GLOB_RECURSE SRC_TEST tests-clay/*.c)
- ADD_EXECUTABLE(libgit2_test ${SRC} ${SRC_TEST} ${SRC_ZLIB})
- TARGET_LINK_LIBRARIES(libgit2_test ${CMAKE_THREAD_LIBS_INIT})
+ ADD_EXECUTABLE(libgit2_clay ${SRC} ${SRC_TEST} ${SRC_ZLIB})
+ TARGET_LINK_LIBRARIES(libgit2_clay ${CMAKE_THREAD_LIBS_INIT})
IF (WIN32)
- TARGET_LINK_LIBRARIES(libgit2_test ws2_32)
+ TARGET_LINK_LIBRARIES(libgit2_clay ws2_32)
ELSEIF (CMAKE_SYSTEM_NAME MATCHES "(Solaris|SunOS)")
- TARGET_LINK_LIBRARIES(libgit2_test socket nsl)
+ TARGET_LINK_LIBRARIES(libgit2_clay socket nsl)
ENDIF ()
ENABLE_TESTING()
- ADD_TEST(libgit2_test libgit2_test)
+ ADD_TEST(libgit2_clay libgit2_clay)
ENDIF ()