mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[c-host] cmake: fix bad method of setting CFLAGS
This commit is contained in:
parent
e4d8cf2d76
commit
a03075416c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user