Removed '-fpermissive' from compiler flags -- not necessary (and potentially harmful)

This commit is contained in:
Casey Langen 2016-09-13 14:52:40 -07:00
parent 2379b94473
commit 5df01cb2ae

View File

@ -19,7 +19,7 @@ ExternalProject_Add(taglib
INSTALL_COMMAND make install
)
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-std=c++11 -fpermissive")
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-std=c++11")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2")