Skip to content

Commit

Permalink
Solved #29; Removed -gstabs+ for OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
mvukov committed May 29, 2013
1 parent db9c635 commit 9cebdbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/CompilerOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ IF( CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_CXX_COMPILER
# Apple specifics
#
IF( APPLE )
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -gstabs+")
SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -gstabs+")
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g")
SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g")

IF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-comparison" )
Expand Down

0 comments on commit 9cebdbb

Please sign in to comment.