build: fix ENABLE_LIRC=ON
Fix the `ENABLE_LIRC` cmake option, pass an interface specifier to `target_compile_definitions()`. Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
parent
be09125d52
commit
b3952d74a8
|
@ -61,7 +61,7 @@ endif()
|
||||||
|
|
||||||
if(ENABLE_LIRC)
|
if(ENABLE_LIRC)
|
||||||
target_link_libraries(vbam lirc_client)
|
target_link_libraries(vbam lirc_client)
|
||||||
target_compile_definitions(vbam VBAM_ENABLE_LIRC)
|
target_compile_definitions(vbam PUBLIC VBAM_ENABLE_LIRC)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
|
|
Loading…
Reference in New Issue