Commits

Anonymous committed 0ccaff8

Fixed a problem with generating the header file by assigning absolute pathnames
to the header ans script.

Comments (0)

Files changed (1)

src/wml_backend/p3_eperl/CMakeLists.txt

     ${SOURCES}
 )
 
-SET(SCRIPT "eperl_perl5_sm.pl")
-SET(HEADER "eperl_perl5_sm.h")
+SET(SCRIPT "${CMAKE_CURRENT_SOURCE_DIR}/eperl_perl5_sm.pl")
+SET(HEADER "${CMAKE_CURRENT_SOURCE_DIR}/eperl_perl5_sm.h")
 ADD_CUSTOM_COMMAND(
     OUTPUT ${HEADER}
-    COMMAND ${PATH_PERL} 
+    COMMAND ${PATH_PERL}
     ARGS ${SCRIPT}
     DEPENDS ${SCRIPT}
     VERBATIM