Skip to content

Commit

Permalink
Merge pull request #333 from jonesmz/patch-2
Browse files Browse the repository at this point in the history
Fix cmake for std::any
  • Loading branch information
redboltz authored Aug 6, 2019
2 parents e72a8cc + 93f0826 commit 757cba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ ELSE ()
MESSAGE (STATUS "Using boost::string_view instead of std::string_view")
ENDIF ()

IF (MQTT_STD_ANY_VIEW)
IF (MQTT_STD_ANY)
SET(CMAKE_CXX_STANDARD 17)
SET(CMAKE_CXX_STANDARD_REQUIRED ON)
MESSAGE (STATUS "Using std::any instead of boost::any. Enables C++17!!!")
Expand Down

0 comments on commit 757cba1

Please sign in to comment.