Skip to content

Commit

Permalink
fix(CMakeLists.txt): set "-std=c++11" in CMAKE_CXX_FLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
lotem committed May 20, 2019
1 parent fecfe39 commit 5d8a836
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 @@ -149,7 +149,7 @@ if(MSVC)
endif()

if(UNIX)
add_definitions("-std=c++11")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
endif()

if(NOT DEFINED LIB_INSTALL_DIR)
Expand Down

0 comments on commit 5d8a836

Please sign in to comment.