소스 검색

Fix QHttp compilation on windows

Tobias Hieta 9 년 전
부모
커밋
8b88de03fb
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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)