Fix install directory for .bond files

CMake install DIRECTORY installs specified directory, not the files from
that directory, in the DESTINATION.
This commit is contained in:
Adam Sapek 2017-01-06 18:34:35 -08:00
Родитель 5c09820837
Коммит 2475cbba37
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -135,10 +135,10 @@ install (TARGETS bond bond_apply
ARCHIVE DESTINATION lib/bond
INCLUDES DESTINATION include)
install (DIRECTORY ${BOND_IDL}/bond/core DESTINATION include/bond/core)
install (DIRECTORY ${BOND_IDL}/bond/core DESTINATION include/bond)
if (NOT BOND_CORE_ONLY)
install (DIRECTORY ${BOND_IDL}/bond/comm DESTINATION include/bond/comm)
install (DIRECTORY ${BOND_IDL}/bond/comm DESTINATION include/bond)
endif()
add_subdirectory (test)