[CMake] Define perlbind option for all targets (#3538)

This isn't designed well and wasn't handled correctly since the perlbind
library was getting built and linked with default options while zone was
using PERLBIND_NO_STRICT_SCALAR_TYPES. This was probably leading to some
unspecified behavior.
This commit is contained in:
hg
2023-08-12 21:48:08 -04:00
committed by GitHub
parent 2660aa79ab
commit af91b2b41c
2 changed files with 1 additions and 4 deletions
+1
View File
@@ -388,6 +388,7 @@ IF(PERL_LIBRARY_ENABLED)
INCLUDE_DIRECTORIES(SYSTEM "${PERL_LIBRARY_INCLUDE}")
ADD_DEFINITIONS(-DEMBPERL)
ADD_DEFINITIONS(-DEMBPERL_PLUGIN)
ADD_DEFINITIONS(-DPERLBIND_NO_STRICT_SCALAR_TYPES)
ENDIF()
ENDIF()