Skip to content

Commit 1582922

Browse files
committed
[cmake] clean legacy
1 parent 531828a commit 1582922

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,6 @@ endif()
9595
# set the path where we can find the findXXX.cmake
9696
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake")
9797

98-
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
99-
# -Wno-c++11-narrowing to solve "non-type template argument evaluates to -1" error in boost::gil
100-
# -Wno-deprecated-register to avoid the noise of some older eigen versions
101-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-c++11-extensions -Wno-c++11-narrowing -Wno-deprecated-register")
102-
endif()
103-
10498
if(APPLE)
10599

106100
# avoid the cmake policy warning about @rpath in MacOSX

0 commit comments

Comments
 (0)