0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00

cmake: Add PUBLIC_HEADER DESTINATION for development rundir

Fix a warning thrown by CMake.
This commit is contained in:
tytan652 2022-07-19 16:06:58 +02:00 committed by Ryan Foster
parent 80e2a980bf
commit 2ba32763e5

View File

@ -47,7 +47,11 @@ function(setup_binary_target target)
EXCLUDE_FROM_ALL
LIBRARY DESTINATION ${OBS_LIBRARY_DESTINATION}
COMPONENT obs_${target}
EXCLUDE_FROM_ALL)
EXCLUDE_FROM_ALL
PUBLIC_HEADER
DESTINATION ${OBS_INCLUDE_DESTINATION}
COMPONENT obs_${target}
EXCLUDE_FROM_ALL)
add_custom_command(
TARGET ${target}