Fix cuda build downstream (#4)
* Cuda flags should not be exported to downstream targets Signed-off-by: Shane Loretz <sloretz@osrfoundation.org> * Fix c linkage with C++ cuda code Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
This commit is contained in:
@@ -15,18 +15,8 @@
|
||||
#ifndef DARKNET_VENDOR__DARKNET_VENDOR_H_
|
||||
#define DARKNET_VENDOR__DARKNET_VENDOR_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <darknet.h>
|
||||
#include <darknet_vendor/version.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif // DARKNET_VENDOR__DARKNET_VENDOR_H_
|
||||
|
||||
|
||||
Reference in New Issue
Block a user