mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 22:31:46 +00:00
[c-host] cmake: fix bad method of setting CFLAGS
This commit is contained in:
parent
e4d8cf2d76
commit
a03075416c
2 changed files with 2 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
a12-144-g8b47d740a8+1
|
a12-145-ge4d8cf2d76+1
|
|
@ -5,7 +5,7 @@ add_library(capture_DXGI STATIC
|
||||||
src/dxgi.c
|
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")
|
FIND_PROGRAM(DLLTOOL_EXECUTABLE NAMES "dlltool.exe" DOC "dlltool executable")
|
||||||
ADD_CUSTOM_COMMAND(TARGET capture_DXGI POST_BUILD
|
ADD_CUSTOM_COMMAND(TARGET capture_DXGI POST_BUILD
|
||||||
|
|
Loading…
Reference in a new issue