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:
Родитель
5c09820837
Коммит
2475cbba37
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче