Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Fix build on Linux with conda-forge dependencies #2944

Merged
merged 2 commits into from
Mar 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,8 @@ if (MSVC)
set(UNFILTERED_FLAGS "/EHsc")
endif()

# Visual Studio enables c++11 support by default
if (NOT MSVC)
set(UNFILTERED_FLAGS "-std=c++11")
set(UNFILTERED_FLAGS "")
endif()

set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${VALID_CXX_FLAGS} ${UNFILTERED_FLAGS}")
Expand Down
2 changes: 1 addition & 1 deletion plugins/rest_web/RestApi.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <cstring>
#include <stdlib.h>
#include <curl/curl.h>
#include <inttypes.h>
#include <cinttypes>

#include "RestApi.hh"

Expand Down