Curl and VS 2013

46 views
Skip to first unread message

León Moctezuma

unread,
May 9, 2015, 12:46:38 PM5/9/15
to aseprite...@googlegroups.com
Since I have not been able to compile the program in OS X I decided to try on Windows.

I had just a small problem with libcurl after generating the VS 2013 solution.

The directory specified for the libcurl library was wrong and it seems that it´s related to a work around to avoid the Debug and Release directory but for some reason this is not a problem for me with VS 2013.

diff --git a/third_party/curl/lib/CMakeLists.txt b/third_party/curl/lib/CMakeLists.txt
index aec1a3c..745fc7c 100644
--- a/third_party/curl/lib/CMakeLists.txt
+++ b/third_party/curl/lib/CMakeLists.txt
@@ -111,8 +111,8 @@ set_target_properties(${LIB_NAME} PROPERTIES IMPORT_PREFIX "")
 if(MSVC)
   if(NOT BUILD_RELEASE_DEBUG_DIRS)
     # Ugly workaround to remove the "/debug" or "/release" in each output
-    set_target_properties(${LIB_NAME} PROPERTIES PREFIX "../")
-    set_target_properties(${LIB_NAME} PROPERTIES IMPORT_PREFIX "../")
+    #set_target_properties(${LIB_NAME} PROPERTIES PREFIX "../")
+    #set_target_properties(${LIB_NAME} PROPERTIES IMPORT_PREFIX "../")
   endif()
 endif()

Regards,

León


patch.diff
Reply all
Reply to author
Forward
0 new messages