mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-01 04:02:05 +08:00
Update compiler_flags.cmake
Removed the CMake changes. Will update the cmake in another PR.
This commit is contained in:
parent
85cbcbf7b0
commit
ded2127934
@ -152,7 +152,8 @@ function (add_cxx_preproc_definition preproc_def)
|
||||
string(FIND "${CMAKE_CXX_FLAGS}" "${preproc_def}" PREPROC_DEF_FOUND)
|
||||
|
||||
if (${PREPROC_DEF_FOUND} EQUAL -1)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D${preproc_def}" PARENT_SCOPE)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D${preproc_def}" CACHE STRING ""
|
||||
FORCE)
|
||||
endif ()
|
||||
endfunction ()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user