Parcourir la source

Fix QHttp compilation on windows

Tobias Hieta il y a 9 ans
Parent
commit
8b88de03fb
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      external/qhttp/CMakeLists.txt

+ 2 - 0
external/qhttp/CMakeLists.txt

@@ -2,6 +2,8 @@ aux_source_directory(src HTTP_SRC)
 
 include_directories(src 3rdparty)
 
+add_definitions(-DQHTTP_EXPORT)
+
 set(CMAKE_AUTOMOC ON)
 add_library(qhttp STATIC ${HTTP_SRC} 3rdparty/http-parser/http_parser.c)
 target_link_libraries(qhttp)