Skip to content

Commit

Permalink
Merge pull request #11 from leapmotion/fix-lstdc++
Browse files Browse the repository at this point in the history
Update StandardProject.cmake
  • Loading branch information
yeswalrus committed Aug 11, 2016
2 parents 0cfc7f8 + ca8f842 commit f191e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion standard/StandardProject.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function(standard_project_postinit)
set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++" CACHE INTERNAL "XCode Clang C++ STL Version")
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
message(STATUS "Clang C++11")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS}-lstdc++" CACHE INTERNAL "C++ EXE Linker Flags")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lstdc++" CACHE INTERNAL "C++ EXE Linker Flags")
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
message(STATUS "GCC C++11")
endif()
Expand Down

0 comments on commit f191e4b

Please sign in to comment.