cmake_minimum_required ( VERSION 3.28 )
project ( testprj )
#find_package (Perl)
find_package(PerlLibs)
get_directory_property( my_import_targets DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} IMPORTED_TARGETS )
message( STATUS "my_import_targets=${my_import_targets}" )
message( STATUS "PERL_FOUND=${PERL_FOUND}" )
message( STATUS "PERLLIBS_FOUND=${PERLLIBS_FOUND}" )
message( STATUS "PERL_INCLUDE_PATH=${PERL_INCLUDE_PATH}" )
message( STATUS "PERL_LIBRARY=${PERL_LIBRARY}" )
message( STATUS "PERL_EXECUTABLE=${PERL_EXECUTABLE}" )
message( STATUS "PERL_SITESEARCH=${PERL_SITESEARCH}" )
message( STATUS "PERL_SITEARCH=${PERL_SITEARCH}" )
message( STATUS "PERL_SITELIB=${PERL_SITELIB}" )
message( STATUS "PERL_VENDORARCH=${PERL_VENDORARCH}" )
message( STATUS "PERL_VENDORLIB=${PERL_VENDORLIB}" )
message( STATUS "PERL_ARCHLIB=${PERL_ARCHLIB}" )
message( STATUS "PERL_PRIVLIB=${PERL_PRIVLIB}" )
message( STATUS "PERL_UPDATE_ARCHLIB=${PERL_UPDATE_ARCHLIB}" )
message( STATUS "PERL_UPDATE_PRIVLIB=${PERL_UPDATE_PRIVLIB}" )
message( STATUS "PERL_EXTRA_C_FLAGS=${PERL_EXTRA_C_FLAGS}" )