diff options
author | Oleg Morozenkov <m@oleg.rocks> | 2019-12-05 01:24:16 +0300 |
---|---|---|
committer | Oleg Morozenkov <m@oleg.rocks> | 2019-12-05 01:24:16 +0300 |
commit | dc8272ef5de54c65243e66715a1683d004ab74cb (patch) | |
tree | 9e12cb0382e8cae450741ac3a86be082cbe9ca89 /CMakeLists.txt | |
parent | 2b5baa24597778d8e9f5d93c30a6f6440ef90971 (diff) |
Fix Dockerfile_test
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 3 insertions, 4 deletions
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 |