Fix not building on Gentoo

Originally from https://github.com/Barteks2x
This commit is contained in:
Petr Mrázek 2020-06-07 21:30:03 +02:00
parent d7deea6dac
commit dc72a20b7e

View file

@ -50,6 +50,7 @@ target_include_directories(${NBT_NAME} PUBLIC include ${CMAKE_CURRENT_BINARY_DIR
if(DEFINED NBT_DEST_DIR)
install(
TARGETS ${NBT_NAME}
ARCHIVE DESTINATION ${LIBRARY_DEST_DIR}
RUNTIME DESTINATION ${LIBRARY_DEST_DIR}
LIBRARY DESTINATION ${LIBRARY_DEST_DIR}
)