CMakeLists.txt
changeset 1034 a20aae42114b
parent 1033 c846b83628f4
child 1035 f6ca3f9af74c
equal deleted inserted replaced
1033:c846b83628f4 1034:a20aae42114b
   446     ENDMACRO(GET_PERL_CONFIG)
   446     ENDMACRO(GET_PERL_CONFIG)
   447 
   447 
   448     MARK_AS_ADVANCED(PERL)
   448     MARK_AS_ADVANCED(PERL)
   449 
   449 
   450     # !!! FIXME: installsitearch might be the wrong location.
   450     # !!! FIXME: installsitearch might be the wrong location.
   451     GET_PERL_CONFIG("installarchlib" PERL_INCLUDE_PATH)
   451     GET_PERL_CONFIG("archlibexp" PERL_INCLUDE_PATH)
   452     GET_PERL_CONFIG("ccflags" PERL_CCFLAGS)
   452     GET_PERL_CONFIG("ccflags" PERL_CCFLAGS)
   453     GET_PERL_CONFIG("installsitearch" PERL_INSTALL_PATH)
   453     GET_PERL_CONFIG("installsitearch" PERL_INSTALL_PATH)
   454 
   454 
   455     CONFIGURE_SWIG_BINDING(Perl "${PERL_INSTALL_PATH}" "${CMAKE_CURRENT_BINARY_DIR}/physfs.pm" "\"-I${PERL_INCLUDE_PATH}/CORE\" ${PERL_CCFLAGS} -w")
   455     CONFIGURE_SWIG_BINDING(Perl "${PERL_INSTALL_PATH}" "${CMAKE_CURRENT_BINARY_DIR}/physfs.pm" "\"-I${PERL_INCLUDE_PATH}/CORE\" ${PERL_CCFLAGS} -w")
   456     INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/physfs.pm" DESTINATION "${PERL_INSTALL_PATH}")
   456     INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/physfs.pm" DESTINATION "${PERL_INSTALL_PATH}")