aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBenoit Neil <suky0001@free.fr>2009-04-08 11:42:45 +0000
committerBenoit Neil <suky0001@free.fr>2009-04-08 11:42:45 +0000
commit25f626cc52561547034bc070b92b81606b9ba473 (patch)
treeb12a98e035876e8098877b207786a301a67db936 /lib
parentece891d6dbe4abd7912c7bc6fb0f1bc71e7b67e1 (diff)
Fixed compile defines in CMake scripts
Diffstat (limited to 'lib')
-rw-r--r--lib/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index f166945a1..12b422e5a 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -97,9 +97,7 @@ IF(WIN32)
ADD_DEFINITIONS( -D_USRDLL )
ENDIF()
-ADD_DEFINITIONS(
- -DBUILDING_LIBCURL
-)
+SET_TARGET_PROPERTIES(${LIB_NAME} PROPERTIES COMPILE_DEFINITIONS BUILDING_LIBCURL)
SETUP_CURL_DEPENDENCIES(${LIB_NAME})