Skip to content

Commit

Permalink
Include iFrameTransform in yarp/dev/all.h only if the math is compiled
Browse files Browse the repository at this point in the history
  • Loading branch information
S-Dafarra committed Jan 20, 2025
1 parent 07cbf56 commit 5df5d4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libYARP_dev/src/yarp/dev/all.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@
#include <yarp/dev/ISpeechTranscription.h>
#include <yarp/dev/ILLM.h>
#include <yarp/dev/IChatBot.h>

#ifndef YARP_NO_MATH
#include <yarp/dev/IFrameTransform.h>
#endif // YARP_NO_MATH


#ifndef YARP_NO_DEPRECATED // since YARP 3.5
#define YARP_INCLUDING_DEPRECATED_HEADER_YARP_DEV_FRAMEGRABBER_H_ON_PURPOSE
Expand Down
1 change: 1 addition & 0 deletions src/libYARP_math/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
project(YARP_math)

if(NOT YARP_COMPILE_libYARP_math)
add_definitions(-DYARP_NO_MATH)
return()
endif()

Expand Down

0 comments on commit 5df5d4b

Please sign in to comment.