# If necessary, activate all warnings (useful for debugging and code cleaning)
# add_definitions(-Wall -Werror -ansi -pedantic)
-IF (BUILD_LSF_INTERFACE AND LSF_FOUND)
- include_directories(${LSF_INCLUDE_DIR})
- target_link_libraries(Batch ${LSF_LIBRARY} ${LSF_BAT_LIBRARY})
-ENDIF (BUILD_LSF_INTERFACE AND LSF_FOUND)
-
-IF (BUILD_PBS_INTERFACE AND PBS_FOUND)
- include_directories(${PBS_INCLUDE_DIR})
- target_link_libraries(Batch ${PBS_LIBRARY})
-ENDIF (BUILD_PBS_INTERFACE AND PBS_FOUND)
-
INSTALL(TARGETS Batch DESTINATION lib)
INSTALL(FILES ${HDR_FILES} DESTINATION include/Batch)