[c-host] cmake: fix bad method of setting CFLAGS

This commit is contained in:
Geoffrey McRae 2019-04-10 21:20:15 +10:00
parent e4d8cf2d76
commit a03075416c
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
a12-144-g8b47d740a8+1
a12-145-ge4d8cf2d76+1

View File

@ -5,7 +5,7 @@ add_library(capture_DXGI STATIC
src/dxgi.c
)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DCOBJMACROS -DINITGUID")
add_definitions("-DCOBJMACROS -DINITGUID")
FIND_PROGRAM(DLLTOOL_EXECUTABLE NAMES "dlltool.exe" DOC "dlltool executable")
ADD_CUSTOM_COMMAND(TARGET capture_DXGI POST_BUILD