File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ project("libsdcparse")
77if (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR} )
88 #Only set compiler settings if we are not a sub-project
99 set (WARN_FLAGS "-Wall -Wextra -Wpedantic -Wcast-qual -Wcast-align -Wshadow -Wformat=2 -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wswitch-default -Wundef -Wunused-variable -Wdisabled-optimization -Wnoexcept -Woverloaded-virtual -Wctor-dtor-privacy -Wnon-virtual-dtor" )
10- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11 ${WARN_FLAGS} " )
11- #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address -fsanitize=leak -fsanitize=undefined")
10+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11 ${WARN_FLAGS} " )
11+ #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address -fsanitize=leak -fsanitize=undefined")
1212 set (FLEX_BISON_WARN_SUPPRESS_FLAGS "-Wno-switch-default -Wno-unused-parameter -Wno-missing-declarations" )
1313endif ()
1414
@@ -44,7 +44,7 @@ endif()
4444add_library (libsdcparse STATIC
4545 ${LIB_HEADERS}
4646 ${LIB_SOURCES}
47- ${FLEX_SdcLexer_OUTPUTS}
47+ ${FLEX_SdcLexer_OUTPUTS}
4848 ${BISON_SdcParser_OUTPUT_SOURCE} )
4949target_include_directories (libsdcparse PUBLIC ${LIB_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR} )
5050set_target_properties (libsdcparse PROPERTIES PREFIX "" ) #Avoid extra 'lib' prefix
You can’t perform that action at this time.
0 commit comments