cmake: Add PUBLIC_HEADER DESTINATION for development rundir

Fix a warning thrown by CMake.
master
tytan652 2022-07-19 16:06:58 +02:00 committed by Ryan Foster
parent 80e2a980bf
commit 2ba32763e5
1 changed files with 5 additions and 1 deletions

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}