build: fix add_definition abuse in CMake
add_definitions is meant for adding C preprocessor definitions. Modern cmake suggests use of the CMAKE_CXX_FLAGS for the purposes of pushing flags to the compilation commands. Simply switch to the modern form given that we are already requiring a new enough cmake. llvm-svn: 203637
Loading
Please register or sign in to comment