From b85154f13fa5bf25d7da2fa4eaa05fb683ba3aa3 Mon Sep 17 00:00:00 2001 From: Benoit Neil Date: Mon, 6 Apr 2009 21:05:44 +0000 Subject: Added tests (exes) targets, refactor a few things. PS: Once again, sorry if the added files have executable perms on Linux. --- src/CMakeLists.txt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 168abf422..e0e7a7855 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -47,15 +47,7 @@ INCLUDE_DIRECTORIES( # Setup dependencies - -IF(CURL_ZLIB AND ZLIB_FOUND) - TARGET_LINK_LIBRARIES(${EXE_NAME} ${ZLIB_LIBRARIES}) - #ADD_DEFINITIONS( -DHAVE_ZLIB_H -DHAVE_ZLIB -DHAVE_LIBZ ) -ENDIF() -# IF(CURL_SSL AND CURL_CONFIG_HAS_BEEN_RUN_BEFORE) - # TARGET_LINK_LIBRARIES(${EXE_NAME} ${OPENSSL_LIBRARIES}) - # ADD_DEFINITIONS( -DUSE_SSLEAY ) -# ENDIF() +SETUP_CURL_DEPENDENCIES(${EXE_NAME}) TARGET_LINK_LIBRARIES( ${EXE_NAME} libcurl ) -- cgit v1.2.3