From dc8272ef5de54c65243e66715a1683d004ab74cb Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Thu, 5 Dec 2019 01:24:16 +0300 Subject: Fix Dockerfile_test --- CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 8f8bbcf..1759746 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,15 +1,14 @@ cmake_minimum_required(VERSION 2.8.4) project(TgBot) -set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) - # options option(ENABLE_TESTS "Set to ON to enable building of tests" OFF) option(BUILD_SHARED_LIBS "Build tgbot-cpp shared/static library." OFF) # sources if(WIN32) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") # Do not activate all warnings in VS (too much output for Appveyor) + set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") else() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall") endif() @@ -34,7 +33,7 @@ set(SRC_LIST ## threads find_package(Threads REQUIRED) -# zlib +## zlib find_package(ZLIB REQUIRED) ## openssl -- cgit v1.2.3