diff options
author | Benoit Neil <suky0001@free.fr> | 2009-04-08 23:35:09 +0000 |
---|---|---|
committer | Benoit Neil <suky0001@free.fr> | 2009-04-08 23:35:09 +0000 |
commit | 020955ebc26ec978fe7ebac380519d877f0c3f79 (patch) | |
tree | cd06daff65d3771e7e6a0c2a02365627a2a11e13 /tests/server | |
parent | 3733fa02eecabd12f2274f63f3dc9a9eda308728 (diff) |
Added special define for tests that directly include libcurl sources.
Diffstat (limited to 'tests/server')
-rw-r--r-- | tests/server/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server/CMakeLists.txt b/tests/server/CMakeLists.txt index c464a1f45..eaaef0dce 100644 --- a/tests/server/CMakeLists.txt +++ b/tests/server/CMakeLists.txt @@ -12,7 +12,7 @@ FUNCTION(SETUP_EXECUTABLE TEST_NAME) # ARGN are the files in the test SETUP_CURL_DEPENDENCIES(${TEST_NAME}) #TARGET_LINK_LIBRARIES( ${TEST_NAME} libcurl ) - #SET_TARGET_PROPERTIES(${TEST_NAME} PROPERTIES COMPILE_DEFINITIONS ${UPPER_TEST_NAME}) + SET_TARGET_PROPERTIES(${TEST_NAME} PROPERTIES COMPILE_DEFINITIONS USES_DIRECT_CURL_UTILITIES) # ${UPPER_TEST_NAME} # Add the postfix to the executable since it is not added automatically as for modules and shared libraries SET_TARGET_PROPERTIES(${TEST_NAME} PROPERTIES DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}") |