[Bug Fix] Fix CMakeLists.txt so compile works. (#1387)

* [Bug Fix] Fix CMakeLists.txt so compile works.

* Typo.

* Add ifdefs to bot files so they're not used unless bots are enabled.
This commit is contained in:
Alex
2021-06-11 23:52:47 -04:00
committed by GitHub
parent 6e61f6d0ba
commit cc46297b32
4 changed files with 10 additions and 1 deletions
+3 -1
View File
@@ -13,6 +13,7 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifdef BOTS
#include "../common/features.h"
#ifdef EMBPERL_XS_CLASSES
#include "../common/global_define.h"
@@ -81,4 +82,5 @@ XS(boot_Bot)
XSRETURN_YES;
}
#endif //EMBPERL_XS_CLASSES
#endif //EMBPERL_XS_CLASSES
#endif //BOTS