Skip to content

Commit

Permalink
Use "-w" instead of "-Wno-warnings".
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderFabisch committed Nov 29, 2013
1 parent 2286c35 commit 85d2ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CMakeLists.txt
Expand Up @@ -13,7 +13,7 @@ endif()

set(ALGLIB_DEFINITIONS "-DAE_HAVE_STDINT")
if(CMAKE_COMPILER_IS_GNUCXX AND NOT CYGWIN_FOUND)
set(ALGLIB_DEFINITIONS "${ALGLIB_DEFINITIONS} -Wno-warnings")
set(ALGLIB_DEFINITIONS "${ALGLIB_DEFINITIONS} -w")
endif()
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86_64")
set(ALGLIB_DEFINITIONS "${ALGLIB_DEFINITIONS} -DAE_CPU=1")
Expand Down

0 comments on commit 85d2ffa

Please sign in to comment.