Skip to content
Browse files

'-Wall' does not overwrite CMAKE_CXX_FLAGS

  • Loading branch information...
1 parent c90093d commit d30bb3f41dbd3d9ea05df60984ec6ba691c0ab0e @navzam navzam committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
View
2 CMakeLists.txt
@@ -35,7 +35,7 @@ if(WIN32)
link_directories(${CMAKE_SOURCE_DIR}/../opencv/kiss-prefix/lib)
endif()
-set(CMAKE_CXX_FLAGS "-Wall")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
add_definitions(-O3)
if(APPLE)

0 comments on commit d30bb3f

Please sign in to comment.
Something went wrong with that request. Please try again.