diff options
Diffstat (limited to 'lib/CMakeLists.txt')
-rw-r--r-- | lib/CMakeLists.txt | 4 |
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}) |